Error map

rollup native module Error: Cannot find module @rollup/rollup-linux-x64-gnu. npm has a bug related to optional dependencies

npm · layer 7, Build & delivery

Open the full error page →

Centre: this error. First ring: errors it is linked with (12). 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.

rollup native module — Error: Cannot find module @rollup/rollup-linux-x64-gnu. npm has a bug related to optional dependencies (npm)rollup nati…MODULE_NOT_FOUND — Error: Cannot find module 'x' (MODULE_NOT_FOUND) (Node.js)MODULE_NOT_FOUNDnpm ci out of sync — npm ERR! `npm ci` can only install packages when your package.json and package-lock.json are in sync (npm)npm ci out of syncgyp ERR! — gyp ERR! build error / node-gyp rebuild failed (npm)gyp ERR!invalid ELF header — Error: /app/node_modules/bcrypt/lib/binding/bcrypt_lib.node: invalid ELF header (npm)invalid ELF headernpm ci no lockfile — npm ERR! The `npm ci` command can only install with an existing package-lock.json or npm-shrinkwrap.json (npm)npm ci no lockfilesharp module — Error: Could not load the "sharp" module using the linux-x64 runtime (npm)sharp moduleesbuild wrong platform — You installed esbuild for another platform than the one you're currently using. (npm)esbuild wrong platf…YN0028 — YN0028: The lockfile would have been modified by this install, which is explicitly forbidden. (npm)YN0028EINTEGRITY — npm ERR! code EINTEGRITY — sha512 integrity checksum failed (npm)EINTEGRITYNo Xcode or CLT — gyp: No Xcode or CLT version detected! (npm)No Xcode or CLTERR_PNPM_OUTDATED_LOCKFILE — ERR_PNPM_OUTDATED_LOCKFILE Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json (npm)ERR_PNPM_OUTDATED_L…Invalid Version — npm ERR! Invalid Version: (semver parse error) (npm)Invalid VersionERESOLVE — npm ERR! code ERESOLVE — unable to resolve dependency tree (npm)ERESOLVEENOENT — Error: ENOENT: no such file or directory (Node.js)ENOENTTypeError: not a function — TypeError: x is not a function (JavaScript)TypeError: not a fu…github-actions[bot] 403 — remote: Permission to owner/repo.git denied to github-actions[bot]. fatal: unable to access … The requested URL returned error: 403 (Git)github-actions[bot]…old lockfile — npm WARN old lockfile — The package-lock.json file was created with an old version of npm, so supplemental metadata must be fetched (npm)old lockfileELSPROBLEMS — npm ERR! code ELSPROBLEMS — invalid / extraneous / missing packages in npm ls (npm)ELSPROBLEMSModuleNotFoundError — ModuleNotFoundError: No module named 'x' (Python)ModuleNotFoundErrorELIFECYCLE — npm ERR! code ELIFECYCLE / Command failed with exit code 1 (npm)ELIFECYCLEERR_OSSL_EVP_UNSUPPORTED — Error: error:0308010C:digital envelope routines::unsupported (Node.js)ERR_OSSL_EVP_UNSUPP…data directory permissions — FATAL: data directory "/var/lib/postgresql/data" has invalid permissions — Permissions should be u=rwx (0700) or u=rwx,g=rx (0750). (PostgreSQL)data directory perm…incompatible data directory — FATAL: database files are incompatible with server — The data directory was initialized by PostgreSQL version 15, which is not compatible with this version 16 (PostgreSQL)incompatible data d…No updates are to be performed — CloudFormation: No updates are to be performed (AWS)No updates are to b…toomanyrequests — toomanyrequests: You have reached your pull rate limit (Docker Hub) (Docker)toomanyrequeststhe input device is not a TTY — the input device is not a TTY (Docker)the input device is…AADSTS70021 — AADSTS70021: No matching federated identity record found for presented assertion (GitHub Actions / workload identity) (Azure)AADSTS70021No hosted parallelism — Azure Pipelines: No hosted parallelism has been purchased or granted (Azure)No hosted paralleli…service connection could not be found — Azure Pipelines: There was a resource authorization issue: The pipeline is not valid. Could not find a service connection with identifier x (Azure)service connection …E404 — npm ERR! code E404 — 404 Not Found: package@version is not in this registry (npm)E404cb() never called — npm ERR! cb() never called! (npm)cb() never calledtarball corrupted — npm WARN tar TAR_ENTRY_ERROR / npm ERR! tarball data for x seems to be corrupted (npm)tarball corruptedCorepack keyid — Error: Cannot find matching keyid (Corepack signature verification) (npm)Corepack keyidinvalid active developer path — xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun (iOS)invalid active deve…Failed to find target with hash string — Failed to find target with hash string 'android-34' / Failed to install the following Android SDK packages as some licences have not been accepted (Android)Failed to find targ…Gradle Java heap space — Gradle: Expiring Daemon because JVM heap space is exhausted / java.lang.OutOfMemoryError: Java heap space during build (Android)Gradle Java heap sp…Command CodeSign failed — Command CodeSign failed with a nonzero exit code (errSecInternalComponent / resource fork, Finder information not allowed) (iOS)Command CodeSign fa…EJSONPARSE — npm ERR! code EJSONPARSE — Failed to parse json / Unexpected token in JSON at position (npm)EJSONPARSEEOVERRIDE — npm ERR! code EOVERRIDE — Override for x conflicts with direct dependency (npm)EOVERRIDEMissing script — npm ERR! Missing script: "start" (npm)Missing script

Directly related (12)

MODULE_NOT_FOUNDNode.js

Error: Cannot find module 'x' (MODULE_NOT_FOUND)

Node can’t resolve the module path — the package isn’t installed, or a relative path/extension is wrong.

npm ci out of syncnpm

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.

gyp ERR!npm

gyp ERR! build error / node-gyp rebuild failed

A dependency with native C/C++ code couldn’t compile — missing build tools, Python, or an unsupported Node version.

invalid ELF headernpm

Error: /app/node_modules/bcrypt/lib/binding/bcrypt_lib.node: invalid ELF header

A native module compiled for macOS/Windows is being loaded on Linux.

npm ci no lockfilenpm

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.

sharp modulenpm

Error: Could not load the "sharp" module using the linux-x64 runtime

sharp’s native binary for this OS/CPU isn’t installed — usually node_modules installed on another platform (Mac → Linux/Docker).

esbuild wrong platformnpm

You installed esbuild for another platform than the one you're currently using.

node_modules contains esbuild’s binary for a different OS/CPU.

YN0028npm

YN0028: The lockfile would have been modified by this install, which is explicitly forbidden.

Yarn Berry’s immutable install in CI found the lockfile needs changes.

EINTEGRITYnpm

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…

No Xcode or CLTnpm

gyp: No Xcode or CLT version detected!

node-gyp on macOS can’t find the Xcode Command Line Tools to compile native modules.

ERR_PNPM_OUTDATED_LOCKFILEnpm

ERR_PNPM_OUTDATED_LOCKFILE Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json

pnpm’s lockfile doesn’t match package.json, and CI installs with a frozen lockfile.

Invalid Versionnpm

npm ERR! Invalid Version: (semver parse error)

A package.json or lockfile contains a version string that isn’t valid semver.

Two steps away (28)

ERESOLVEnpm

npm ERR! code ERESOLVE — unable to resolve dependency tree

npm 7+ found conflicting peer dependency requirements and refuses to install a broken tree.

ENOENTNode.js

Error: ENOENT: no such file or directory

A file or directory the program tried to open doesn’t exist at that path.

TypeError: not a functionJavaScript

TypeError: x is not a function

You called something as a function, but its value is not a function (it’s undefined, a string, an object…).

github-actions[bot] 403Git

remote: Permission to owner/repo.git denied to github-actions[bot]. fatal: unable to access … The requested URL returned error: 403

A GitHub Actions workflow tried to push but the GITHUB_TOKEN doesn’t have write permission.

old lockfilenpm

npm WARN old lockfile — The package-lock.json file was created with an old version of npm, so supplemental metadata must be fetched

The lockfile is lockfileVersion 1 (npm 6) and npm 7+ is upgrading it.

ELSPROBLEMSnpm

npm ERR! code ELSPROBLEMS — invalid / extraneous / missing packages in npm ls

npm ls found the installed tree doesn’t match package.json and the lockfile.

ModuleNotFoundErrorPython

ModuleNotFoundError: No module named 'x'

Python can’t find the module you import — it isn’t installed in the interpreter/virtualenv that’s running, or the import path is…

ELIFECYCLEnpm

npm ERR! code ELIFECYCLE / Command failed with exit code 1

An npm script (build, start, test, postinstall) exited with an error. ELIFECYCLE is only the wrapper — the real error is printed…

ERR_OSSL_EVP_UNSUPPORTEDNode.js

Error: error:0308010C:digital envelope routines::unsupported

An old build tool (webpack 4, old react-scripts) uses a hash algorithm that OpenSSL 3 in Node 17+ disables.

data directory permissionsPostgreSQL

FATAL: data directory "/var/lib/postgresql/data" has invalid permissions — Permissions should be u=rwx (0700) or u=rwx,g=rx (0750).

PostgreSQL refuses to start because the data directory is too open or owned by the wrong user.

incompatible data directoryPostgreSQL

FATAL: database files are incompatible with server — The data directory was initialized by PostgreSQL version 15, which is not compatible with this version 16

A newer (or older) PostgreSQL major version was started on an existing data directory.

No updates are to be performedAWS

CloudFormation: No updates are to be performed

You ran an update/deploy with a template and parameters identical to what’s deployed, so there’s nothing to change.

toomanyrequestsDocker

toomanyrequests: You have reached your pull rate limit (Docker Hub)

Docker Hub limits anonymous and free pulls; your IP or account has used its quota for the current window.

the input device is not a TTYDocker

the input device is not a TTY

docker run/exec was called with -t (allocate a terminal) in a context with no terminal — CI, cron, a pipe or a script.

AADSTS70021Azure

AADSTS70021: No matching federated identity record found for presented assertion (GitHub Actions / workload identity)

The OIDC token from GitHub Actions/Kubernetes/another IdP doesn’t match any federated credential on the app — issuer, subject or…

No hosted parallelismAzure

Azure Pipelines: No hosted parallelism has been purchased or granted

The Azure DevOps organization has no Microsoft-hosted parallel jobs, so pipelines can’t run on hosted agents.

service connection could not be foundAzure

Azure Pipelines: There was a resource authorization issue: The pipeline is not valid. Could not find a service connection with identifier x

The pipeline references a service connection that doesn’t exist in the project or isn’t authorized for this pipeline.

E404npm

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…

cb() never callednpm

npm ERR! cb() never called!

An old npm crash during install — usually network/cache corruption.

tarball corruptednpm

npm WARN tar TAR_ENTRY_ERROR / npm ERR! tarball data for x seems to be corrupted

A downloaded package tarball is damaged — cache corruption or a network/proxy problem.

Corepack keyidnpm

Error: Cannot find matching keyid (Corepack signature verification)

An older Corepack couldn’t verify the signature of a newly published pnpm/yarn release after npm rotated its signing keys.

invalid active developer pathiOS

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun

The Xcode Command Line Tools are missing or broken — typical right after a macOS update.

Failed to find target with hash stringAndroid

Failed to find target with hash string 'android-34' / Failed to install the following Android SDK packages as some licences have not been accepted

Gradle needs an SDK platform/build-tools that isn’t installed, or the licences haven’t been accepted on this machine.

Gradle Java heap spaceAndroid

Gradle: Expiring Daemon because JVM heap space is exhausted / java.lang.OutOfMemoryError: Java heap space during build

The Gradle daemon (or Kotlin daemon) ran out of memory compiling or dexing the project.

Command CodeSign failediOS

Command CodeSign failed with a nonzero exit code (errSecInternalComponent / resource fork, Finder information not allowed)

codesign failed — the keychain is locked (CI/SSH), the private key is inaccessible, or files carry extended attributes that can’t…

EJSONPARSEnpm

npm ERR! code EJSONPARSE — Failed to parse json / Unexpected token in JSON at position

package.json (or package-lock.json) contains invalid JSON.

EOVERRIDEnpm

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.

Missing scriptnpm

npm ERR! Missing script: "start"

The script name you ran isn’t defined in package.json "scripts".