Muhammad Mohsin
Muhammad Mohsin

Reputation: 19

npm ERR! Windows_NT 6.1.7601

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

Answers (1)

Stevens Bryan
Stevens Bryan

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

Related Questions