I keep getting 404 when trying to install an npm package. Why is that?

Asked 2 years ago

I've been trying to install a package (@angular/cli/latest) and I keep getting the error: "code E404 npm ERR! 404 Not Found". What can I do to fix it?


Jaylan Holloway

Sunday, October 09, 2022

This is a really common issue and it can be easily fixed with one command: "npm config set registry http://registry.npmjs.org". If it's still not working, update your version of npm and nodeJs, clean cache, and restart your computer. It's a really simple fix.


Write an answer...


Please follow our  Community Guidelines

Can't find what you're looking for?