前言:
在正常 npm run dev 运行之前的项目的时候报错 10% building modules 1/1 modules 0 activeevents.js:174 throw er; // Unhandled 'error' event,

报错原因:
1、原来是没有设置host,或者host不对;
2、我在网上查的也有说端口号被占用的,但是改了还是报错
解决办法:
将 config/index.js 中 host 改成 localhost

到此结束!
相关文章:
-
2021-12-24
-
2021-10-03
-
2021-09-11
-
2022-12-23
-
2021-12-02
-
2022-03-06
-
2022-12-23
-
2021-05-23
猜你喜欢
-
2022-12-23
-
2021-12-11
-
2021-09-13
-
2022-01-10
-
2022-12-23
-
2022-12-23
相关资源
-
下载
2021-06-25
-
下载
2021-06-25
-
下载
2022-12-18
-
下载
2022-12-29
-
下载
2023-01-16