简体   繁体   English

Events.js:167 抛出 er; // 未处理的“错误”事件

[英]Events.js:167 throw er; // Unhandled ‘error’ event

When using the ionic serve -c command it returns with this error:使用ionic serve -c command它会返回以下错误:

这是错误

I've tried reinstalling ionic many times.我试过多次重新安装离子。 Also reinstalled git and node.js a couple of times.还重新安装了 git 和 node.js 几次。

I've also tried deleting the node_modules and package-lock.json and installing them again with npm install .我还尝试删除 node_modules 和 package-lock.json 并使用npm install再次安装它们。

Use this command npm start .使用此命令npm start This command will start the node server.此命令将启动节点服务器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM