ProjectStack
npm

npm ERR! code E404 — Not Found

npm couldn't find the package you're trying to install in the registry. Either the package name is wrong, it doesn't exist, or it was removed from the registry.

Common causes

  • Typo in the package name — npm package names are case-sensitive
  • The package was unpublished from the npm registry
  • You're trying to install a scoped package (@org/package) without being authenticated
  • Your npm registry is pointing to a private registry that doesn't have this package

How to fix it

  1. Double-check the package name at npmjs.com
  2. Search for the correct spelling: npm search <keyword>
  3. For scoped private packages, log in first: npm login
  4. Check your registry config: npm config get registry

Example

npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/expresss - Not found npm ERR! 404 npm ERR! 404 'expresss@latest' is not in this registry.

Running npm install expresss (typo — should be express)

Have a different error?

Paste any error message into the Error Translator to get an instant explanation.