Angular CLI Installation issue resolved
This is a problem related to network connectivity.
In most cases you are behind a proxy or have bad network settings.
If you are behind a proxy, please make sure that the network 'proxy' config is set properly.
Do the below steps in Power Shell or Command prompt.
PS C:\WINDOWS\system32> npm config rm proxy
PS C:\WINDOWS\system32> npm config rm https-proxy
PS C:\WINDOWS\system32> npm config set registry http://registry.npmjs.org/
PS C:\WINDOWS\system32> npm config set proxy http://Your.Company.Proxy.com:80
PS C:\WINDOWS\system32> npm config set https-proxy http://Your.Company.Proxy.com:80
PS C:\WINDOWS\system32> npm uninstall -g @angular/cli
up to date in 3.848s
PS C:\WINDOWS\system32> npm install -g @angular/cli@latest
0 Comments