ionic3 ctrl+s保存时报错throw er; // Unhandled 'error' event

环境[email protected] ;chrome @69.0.3486.0
新建项目后ionic serve 正常,修改代码后ctrl+s保存时报错


image.png

提示端口号被占用!
原因可能是ws v.3.3.3和新版的chrome有点什么不愉快....
换个浏览器就没问题了,但是我就想用chrome咋整?
把ws换成3.3.2版本就好了,

删除node_modules/ws文件夹重新安装

npm install [email protected]

你可能感兴趣的:(ionic3 ctrl+s保存时报错throw er; // Unhandled 'error' event)