I keep getting 404 when trying to install an npm package. Why is that?
Asked 8 months 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.
Please follow our Community Guidelines