michealraja d
michealraja d

Reputation: 41

angular installation failed in office proxy

I am getting below error while trying to install angular CLI.

Below snap for office proxy:

enter image description here

This snap for client proxy:

enter image description here

Please help any one..

Upvotes: 1

Views: 75

Answers (1)

Jai
Jai

Reputation: 74738

We also had similar issues in our office proxy. Then what we did, we added the proxy to the .npmrc file with this command:

npm config set proxy http://username:password@proxyurl:port
npm config set http_proxy http://username:password@proxyurl:port
npm config set https_proxy https://username:password@proxyurl:port

and it all worked for us.

Upvotes: 1

Related Questions