If you are behind a proxy, please make sure that the npm ERR! 'proxy' config is set properly. 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/