前言:

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

10% building modules 1/1 modules 0 activeevents.js:174 throw er; // Unhandled 'error' event

报错原因:
        1、原来是没有设置host,或者host不对;

        2、我在网上查的也有说端口号被占用的,但是改了还是报错

解决办法:

将 config/index.jshost 改成 localhost

10% building modules 1/1 modules 0 activeevents.js:174 throw er; // Unhandled 'error' event

到此结束!

相关文章:

  • 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
相关资源
相似解决方案