Not able to install @angular/cli using npm Not able to install @angular/cli using npm angular angular

Not able to install @angular/cli using npm


My friend,

Please try: npm cache clean --force. Maybe your npm cache got confused.


It could be issue with your node version. I will suggest you to reinstall node and try it again.

Or you can also try to clean node cache of using npm cache clean --force


List of Npm registry

To switch just type

npm config set registry "https://registry.npmjs.org/"

Replace the registry url with the above urls check which one works for you.

I am from india so i used https://r.cnpmjs.org/ and the same error got resolved.

Note: Please use npm cache clear (To clear cache ) and npm cache verify (To verify its clear or not), This Method works for me