This is a problem related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. code example
Example 1: npm ERR! errno ECONNRESET
first add this:
- npm config set registry http://registry.npmjs.org/
If your organization use proxy , add proxy :
- npm config set proxy "http://username:password@proxy-url:proxy-port"
- npm config set https-proxy "http://username:password@proxy-url:proxy-port"
Example 2: npm ERR! network If you are behind a proxy, please make sure that the
npm config set registry http://registry.npmjs.org/