vue项目npm run dev失败10% building modules 1/1 modules 0 activeevents.js:292 throw er; // Unhandle

一直以为是node_modules文件包出错,

一直在删除 下载
cnpm install 也下了
node 也重新下了
一个下午一直在删除下载
然后发现本地的能运行
再找下原因
原来是config 文件中index.js 里的host: ‘localhost’,被注释掉了!!!

感谢这位大哥!!https://blog.csdn.net/qq_38502227/article/details/97136568

遇到问题一定要仔细找!!!

相关文章:

  • 2021-04-28
  • 2022-12-23
  • 2021-12-16
  • 2021-04-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-26
  • 2022-12-23
  • 2021-09-11
  • 2021-12-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案