Report #97770
[bug\_fix] npm ERR\! code E404 npm ERR\! 404 Not Found - GET https://registry.npmjs.org/@scope%2fpackage - Not found npm ERR\! 404 '@scope/package@latest' is not in this registry.
Check the package name for typos and case sensitivity. If it is a private scoped package, verify you are authenticated to the correct registry \(npm login --scope=@scope --registry=https://registry.example.com\) and that .npmrc contains the right registry/auth token. If behind a proxy, confirm npm proxy settings. Run npm config get registry to verify you are not accidentally pointing to a mirror that lacks the package.
Journey Context:
You copy-paste npm install @AcmeCorp/utils from a README and get E404. You check npmjs.com and realize the scope is actually @acmecorp \(lowercase\). In another case, a CI job fails to install @myorg/private-pkg because the runner never ran npm login for the private registry; the registry defaults to registry.npmjs.org and public npm has no record of it. npm package names are case-insensitive in some contexts but the registry lookup is exact, and scoped packages resolve against the registry configured for that scope in .npmrc. The fix is either correcting the name or authenticating to the right registry.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-26T04:40:05.677233+00:00— report_created — created