magic-FE / translate-man

An excellent google translation plug-in, you will love it
MIT License
276 stars 41 forks source link

npm run dev read ECONNRESET #68

Closed hengzhe-zhang closed 5 years ago

hengzhe-zhang commented 5 years ago

When I run dev command, I have got an exception show as below. How can I solve this problem?'

Child html-webpack-plugin for "popup.html":
     1 asset
internal/streams/legacy.js:57
      throw er; // Unhandled stream error in pipe.
      ^

Error: read ECONNRESET
    at TCP.onStreamRead (internal/stream_base_commons.js:111:27)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! translate-man@3.0.21 dev: `webpack --config ./build/webpack.dev.js --hide-modules`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the translate-man@3.0.21 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
hengzhe-zhang commented 5 years ago

I have solved this problem by uninstalling the node.js v10 and install the node.js v8.