Forums - C# Corner

Forum guidelines
Subir Mandal

Subir Mandal

  • 1.8k
  • 22
  • 114

Not able to install angular 7 cli using cmd

Apr 22 2019 12:17 AM
I am getting below error while trying to install angular cli using cmd and also tried to resolved which wasgiven other websites. node -v is v10.15.3 and npm -v is 6.4.1
 
C:\Users\Subir_Mandal>npm install -g @angular/cli
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! network request to https://registry.npmjs.org/@angular%2fcli failed, reason: read ECONNRESET
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\Subir_Mandal\AppData\Roaming\npm-cache\_logs\2019-04-22T04_42_02_920Z-debug.log
 

Answers (4)