请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

修改代码保存后台就挂掉了报错:events.js:160

***$ ionic serve
[INFO] Starting app-scripts server: --address 0.0.0.0 --port 8100 --livereload-port 35729 --dev-logger-port 53703 -
       Ctrl+C to cancel
[23:19:03]  watch started ...
[23:19:03]  build dev started ...
[23:19:03]  clean started ...
[23:19:03]  clean finished in 6 ms
[23:19:03]  copy started ...
[23:19:03]  deeplinks started ...
[23:19:03]  deeplinks finished in 142 ms
[23:19:03]  transpile started ...
[23:19:12]  transpile finished in 9.02 s
[23:19:12]  preprocess started ...
[23:19:12]  preprocess finished in 2 ms
[23:19:12]  webpack started ...
[23:19:13]  copy finished in 10.20 s
[23:19:30]  webpack finished in 17.76 s
[23:19:30]  sass started ...
Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.
[23:19:33]  sass finished in 3.37 s
[23:19:33]  postprocess started ...
[23:19:33]  postprocess finished in 28 ms
[23:19:33]  lint started ...
[23:19:34]  build dev finished in 30.67 s
[23:19:34]  watch ready in 30.87 s
[23:19:34]  dev server running: http://localhost:8100/

[INFO] Development server running!
       Local: http://localhost:8100
       External: http://192.168.1.101:8100

[23:19:42]  lint finished in 8.92 s
[23:29:21]  build started ...
[23:29:21]  deeplinks update started ...
[23:29:21]  deeplinks update finished in 150 ms
[23:29:21]  template update started ...
[23:29:21]  template update finished in 13 ms
[23:29:21]  build finished in 191 ms

events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: read ECONNRESET
    at exports._errnoException (util.js:1020:11)
    at TCP.onread (net.js:568:26)


正在回答 回答被采纳积分+3

1回答

提问者 qq你侬我侬 2018-03-22 23:42:03

npm install @ionic/cli-utils --save   无效,

npm install --save ionic/app-scripts@3.1.6  报错

0 回复 有任何疑惑可以回复我~
  • Parry #1
    npm install @ionic/cli-utils
    npm i -D -E ws@3.3.2
    
    详细参考:
    https://github.com/ionic-team/ionic-cli/issues/2574
    回复 有任何疑惑可以回复我~ 2018-03-23 10:09:45
  • 提问者 qq你侬我侬 回复 Parry #2
    谢谢老师,解决了我一大困扰
    回复 有任何疑惑可以回复我~ 2018-03-23 21:15:27
  • Parry 回复 提问者 qq你侬我侬 #3
    有问题提问就行,不会遇到什么大麻烦的。加油~~~
    回复 有任何疑惑可以回复我~ 2018-03-24 10:12:15
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信