NPM behind proxy
Well, npm and npm3 should take proxy from ENV (usually I'm using it with sudo -E).
Old topic, but what if corporate proxy suddenly would change? NPM sometimes is smart, sometimes not.
so:
1) remove old proxy:
npm config set proxy http://proxy.company.com:8080
now should work
Old topic, but what if corporate proxy suddenly would change? NPM sometimes is smart, sometimes not.
so:
1) remove old proxy:
npm config rm proxy
npm config rm https-proxy
ornpm3 config rm proxy
npm3 config rm https-proxy
2) Set new:npm config set proxy http://proxy.company.com:8080
now should work
Komentarze
Prześlij komentarz