Reputation: 19
When i am trying to run this command "npm install -g" than it give an error like this. enter image description here
Upvotes: 0
Views: 1298
Reputation: 11
Simply you must to set up:
npm config set proxy http: //proxy.company.com:8080
npm config set https-proxy http: //proxy.company.com:8080
Visit https://jjasonclark.com/how-to-setup-node-behind-web-proxy/
If don't work it you treat to execute cmd as administrator.
Upvotes: 1