Error map
tarball corrupted npm WARN tar TAR_ENTRY_ERROR / npm ERR! tarball data for x seems to be corrupted
npm · layer 7, Build & delivery
Centre: this error. First ring: errors it is linked with (7). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.
Directly related (7)
npm ERR! code ECONNRESET — network aborted / socket hang up
The connection to the registry was reset mid-download.
npm ERR! code E401 — Unable to authenticate, need: Basic realm / Incorrect or missing password
The registry rejected your credentials — missing, expired or wrong auth token.
npm ERR! code EINTEGRITY — sha512 integrity checksum failed
A downloaded package’s hash doesn’t match the integrity value in package-lock.json — a corrupted cache, a changed tarball, or a l…
npm ERR! cb() never called!
An old npm crash during install — usually network/cache corruption.
npm ERR! code E404 — 404 Not Found: package@version is not in this registry
npm asked the registry for a package (or version) that doesn’t exist there — a typo, a private/scoped package without auth, or th…
npm ERR! code ETARGET — No matching version found for package@^9.9.9
The version range in package.json doesn’t match any published version of the package.
npm ERR! code E403 — 403 Forbidden - PUT https://registry.npmjs.org/x - You do not have permission to publish
The registry refused the operation — the package name is taken, you lack publish rights, or 2FA/policies block it.
Two steps away (21)
Error: socket hang up / read ECONNRESET
The other side closed the TCP connection abruptly while your client was still using it.
npm ERR! code ETIMEDOUT — network request to https://registry.npmjs.org/x failed, reason: connect ETIMEDOUT
npm couldn’t reach the registry in time — network, proxy or firewall issue.
npm ERR! code ENOTFOUND — request to https://registry.npmjs.org/x failed, reason: getaddrinfo ENOTFOUND registry.npmjs.org
npm couldn’t resolve the registry hostname.
HTTP 401 Unauthorized
The request has no valid authentication credentials — you need to log in or send a valid token.
npm ERR! code ENEEDAUTH — need auth This command requires you to be logged in
npm needs credentials (publishing, private packages) but none are configured for that registry.
npm ERR! code EOTP — This operation requires a one-time password from your authenticator
Your npm account has 2FA for writes and no one-time password was supplied.
npm ERR! code ERESOLVE — unable to resolve dependency tree
npm 7+ found conflicting peer dependency requirements and refuses to install a broken tree.
npm ERR! `npm ci` can only install packages when your package.json and package-lock.json are in sync
package-lock.json doesn’t match package.json, so npm ci refuses to install.
npm ERR! The `npm ci` command can only install with an existing package-lock.json or npm-shrinkwrap.json
npm ci needs a committed lockfile and didn’t find one.
Authentication plugin 'caching_sha2_password' cannot be loaded
An old MySQL client/driver can’t use MySQL 8’s default authentication plugin.
npm ERR! 403 — You cannot publish over the previously published versions: 1.2.3
That version number has already been published (or unpublished) and can’t be reused.
npm ERR! could not determine executable to run
npx couldn’t find a binary to run for that package.
HTTP 404 Not Found
The server can’t find anything at the requested URL.
[ERROR] Failed to execute goal on project x: Could not resolve dependencies for project
Maven couldn’t download or find one or more dependencies.
npm WARN deprecated package@1.2.3: This package is no longer supported.
A dependency (often a transitive one) is deprecated by its author.
npm ERR! code EOVERRIDE — Override for x conflicts with direct dependency
An "overrides" entry sets a different version for a package you also depend on directly.
npm ERR! code EBADPLATFORM — notsup Unsupported platform for fsevents: wanted {"os":"darwin"} (current: {"os":"linux"})
A package restricted to certain OS/CPU was installed as a required (not optional) dependency on another platform.
npm ERR! code 128 — An unknown git error occurred (git dependency install)
npm failed to fetch a dependency that points to a Git repository.
HTTP 403 Forbidden
The server understood the request but refuses to authorize it — you (or the server process) are not allowed to access this resour…
Error: ENOSPC: System limit for number of file watchers reached
Linux ran out of inotify watches — dev servers watching large projects hit the limit.
npm ERR! code E402 — 402 Payment Required - PUT https://registry.npmjs.org/@scope%2fpkg - You must sign up for private packages
You published a scoped package without --access public, so npm tried to publish it as private.
Map another error
Popular: 4035004000xC000007BTypeErrorCritical error404NullPointerException