3
Answers

unable to install angular cli

saif ali

saif ali

6y
3.7k
1
C:\Users\anand>npm install -g @angular/cli
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR! network request to http://registry.npmjs.org/@angular%2fcli failed, reason: connect ETIMEDOUT 172.17.1.100:8080
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\anand\AppData\Roaming\npm-cache\_logs\2018-10-08T03_20_05_026Z-debug.log
Answers (3)
0
saif ali

saif ali

NA 51 3.7k 6y
same error after npm clean cache
0
Manav Pandya

Manav Pandya

94 19.9k 2.3m 6y
Hello
 
Im not saying that its internet issue, itself cli log suggesting that its internet connectivity issue.
 
thus you can clean cache by using below command :
 
npm cache clean
 
And than try to install cli again using command
 
npm install -g @angular-cli 
 
Thanks 
 
 
0
saif ali

saif ali

NA 51 3.7k 6y
internet is running fine sir...please solve this