调试相关问题
一、npm run dev
相关
Node 和 Npm 版本管理
错误一、
Windows
平台报错:
HMR websocket error: Error: connect ECONNREFUSED 127.0.0.1:38989

解决方案:
1、安装node
版本大于 v16.20.2
并小于v18.18.0
2、安装Chrome
浏览器,并设置为默认浏览器
3、重启电脑
4、重新执行npm run dev
错误二、
Windows
平台报错:
process-handler error unhandledRejection Error: The specified module could not be found.


解决方案:
1、检测node
可执行程序的完整性
2、检测系统中.dll
的完整性。使用DLL
错误修复工具修复系统