angular installation failed in office proxy

72 Views Asked by At

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..

1

There are 1 best solutions below

0
Jai On

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.