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

来源:4-1 使用 Ionic CLI 进行项目的初始化构建

qq你侬我侬

2018-03-22

***$ 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)


写回答

1回答

qq你侬我侬

提问者

2018-03-22

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

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

0
3
Parry
回复
qq你侬我侬
有问题提问就行,不会遇到什么大麻烦的。加油~~~
2018-03-24
共3条回复

快速上手Ionic3多平台开发企业级问答社区

新手可学,独立开发跨iOS/Android/微信平台项目

613 学习 · 750 问题

查看课程