Npm install will not work, if you are behind the proxy server. If you try to use any npm install command then you will get the following errors.
So you need set the http-proxy & https-proxy in nodejs configuration file using following commands.
- You are behind a proxy or have bad network settings
- Tunneling socket could not be established cause=getaddrinfo ENOTFOUND
So you need set the http-proxy & https-proxy in nodejs configuration file using following commands.
npm config set proxy http://ex-proxy.com:8080
npm config set http-proxy http://ex-proxy.com:8080
npm config set https-proxy https://ex-proxy.com:8080
If still have same issues then close your command line window, and open it. Then try with npm install command
0 comments:
Post a Comment