I've tried to install @angular/[email protected] (npm install -g @angular/cli)
Then the following error message appeared:
npm ERR! Response timeout while trying to fetch http://registry.npmjs.org/@angular-devkit%2fschematics (over 30000ms)
npm ERR! A complete log of this run can be found in: npm ERR!
C:\NODEJS\npm-cache_logs\2020-06-16T12_37_01_005Z-debug.log
These solutions I've tried but not work:
npm config set registry http://registry.npmjs.org/
Tip:the problem appeared when I tried update angular 8 to angular 9.
After many days I installed Angular 9 by this steps:
and I've stopped Windows defender & Firewall