[英]Ionic - events.js:160 throw er; // Unhandled 'error' event
Whenever I modify my code on VS Code I have to run ionic serve or ionic lab to view the result of my changes!! 每当我在VS Code上修改代码时,我都必须运行离子服务或离子实验室来查看更改的结果! Before, I was used to only save the project and see the result just in time But now I have this error when I save my project : 以前,我只保存项目并及时查看结果,但是现在保存项目时出现此错误:
events.js:160
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at exports._errnoException (util.js:1018:11)
at TCP.onread (net.js:568:26)
So now I'm obliged to run ionic lab and wait for any single change (waste of time as you know). 因此,现在我不得不运行离子实验室并等待任何单个更改(如您所知,浪费时间)。
Any solution please? 有什么解决办法吗? Thank you 谢谢
It seems like an issue with the last update of Google Chrome. Google Chrome的最新更新似乎是一个问题。
I fixed it manually with npm install ws@3.3.2 --save-dev --save-exact
我用npm install ws@3.3.2 --save-dev --save-exact
手动修复了它
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.