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

前言:

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

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

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

解决办法:

将 config/index.jshost 改成 localhost

到此结束!

发布了128 篇原创文章 · 获赞 49 · 访问量 13万+

猜你喜欢

转载自blog.csdn.net/qq_41619796/article/details/103323955