Error map

ENOENT npm ERR! enoent ENOENT: no such file or directory, open '/path/package.json'

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.

ENOENT — npm ERR! enoent ENOENT: no such file or directory, open '/path/package.json' (npm)ENOENTENOENT — Error: ENOENT: no such file or directory (Node.js)ENOENTauthor identity unknown — Author identity unknown *** Please tell me who you are. (Git)author identity unk…Filename too long — error: unable to create file x: Filename too long (Windows) (Git)Filename too longJAVA_HOME not set — ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. (Java)JAVA_HOME not setaws: error: argument — aws: error: argument command: Invalid choice / Unknown options (AWS)aws: error: argumentdocker-compose: command not found — docker-compose: command not found / 'compose' is not a docker command (Docker)docker-compose: com…Output directory not found — Cloudflare Pages build: Error: Output directory "dist" not found / Failed: build output directory not found (Cloudflare)Output directory no…pathspec did not match — error: pathspec 'x' did not match any file(s) known to git (Git)pathspec did not ma…not a git repository — fatal: not a git repository (or any of the parent directories): .git (Git)not a git repositoryFileNotFoundException — java.io.FileNotFoundException: config.properties (No such file or directory) (Java)FileNotFoundExcepti…adb server version doesn't match — adb server version (41) doesn't match this client (39); killing... (Android)adb server version …Default FirebaseApp is not initialized — IllegalStateException: Default FirebaseApp is not initialized in this process (Android)Default FirebaseApp…MODULE_NOT_FOUND — Error: Cannot find module 'x' (MODULE_NOT_FOUND) (Node.js)MODULE_NOT_FOUNDcommand not found — bash: command not found (Linux)command not found0x80070002 — Windows Error 0x80070002: The system cannot find the file specified (Windows)0x80070002413 — HTTP 413 Content Too Large (Request Entity Too Large) (HTTP)413redirect_uri_mismatch — OAuth Error: redirect_uri_mismatch (Authentication)redirect_uri_mismat…divergent branches — hint: You have divergent branches and need to specify how to reconcile them. (Git)divergent branchesNoSuchFileException — java.nio.file.NoSuchFileException: /path/file (Java)NoSuchFileExceptionEISDIR — Error: EISDIR: illegal operation on a directory, read (Node.js)EISDIRENOTDIR — Error: ENOTDIR: not a directory (Node.js)ENOTDIRUnsupported class file major version — Gradle: Unsupported class file major version / Android Gradle plugin requires Java 17 to run (Android)Unsupported class f…UnsupportedClassVersionError — java.lang.UnsupportedClassVersionError: class file version 61.0, this version of the Java Runtime only recognizes up to 55.0 (Java)UnsupportedClassVer…release version not supported — [ERROR] Fatal error compiling: error: release version 17 not supported (Java)release version not…yarn not found — yarn: command not found (npm)yarn not foundTarget container is not a DOM element — Error: createRoot(...): Target container is not a DOM element. (React)Target container is…ReactDOM.render deprecated — Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. (React)ReactDOM.render dep…compose validation — docker compose: services.x Additional property y is not allowed / yaml: line N: mapping values are not allowed (Docker)compose validationinvalid reference format — docker: invalid reference format (repository name must be lowercase) (Docker)invalid reference f…No such container — Error response from daemon: No such container (Docker)No such containerELIFECYCLE — npm ERR! code ELIFECYCLE / Command failed with exit code 1 (npm)ELIFECYCLEgyp ERR! — gyp ERR! build error / node-gyp rebuild failed (npm)gyp ERR!COPY failed — COPY failed: file not found in build context / "/app/x": not found (Docker)COPY failednon-fast-forward — Git: ! [rejected] … (fetch first) — error: failed to push some refs (Git)non-fast-forwarddetached HEAD — You are in 'detached HEAD' state. (Git)detached HEADcouldn't find remote ref — fatal: couldn't find remote ref main (Git)couldn't find remot…publickey — Git: Permission denied (publickey). fatal: Could not read from remote repository. (Git)publickeyWSL 2 installation is incomplete — Docker Desktop: WSL 2 installation is incomplete / WSL update required (Docker)WSL 2 installation …SDK location not found — SDK location not found. Define a valid SDK location with an ANDROID_HOME environment variable or by setting the sdk.dir path in local.properties (Android)SDK location not fo…AccessDeniedException — java.nio.file.AccessDeniedException: /path (Java)AccessDeniedExcepti…EEXIST — Error: EEXIST: file already exists, mkdir (Node.js)EEXISTENOTEMPTY — npm ERR! code ENOTEMPTY — ENOTEMPTY: directory not empty, rename (npm)ENOTEMPTYINSTALL_FAILED_UPDATE_INCOMPATIBLE — Android: INSTALL_FAILED_UPDATE_INCOMPATIBLE (Android)INSTALL_FAILED_UPDA…INSTALL_FAILED_INSUFFICIENT_STORAGE — INSTALL_FAILED_INSUFFICIENT_STORAGE: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE] (Android)INSTALL_FAILED_INSU…INSTALL_FAILED_TEST_ONLY — INSTALL_FAILED_TEST_ONLY: installPackageLI (Android)INSTALL_FAILED_TEST…ApiException: 10 — Google Sign-In: com.google.android.gms.common.api.ApiException: 10 (DEVELOPER_ERROR) (Android)ApiException: 10missing the MySQL extension — WordPress: Your PHP installation appears to be missing the MySQL extension which is required by WordPress (WordPress)missing the MySQL e…auth/invalid-credential — Firebase Auth: auth/invalid-credential (auth/wrong-password, auth/user-not-found, auth/invalid-login-credentials) (Authentication)auth/invalid-creden…

Directly related (12)

ENOENTNode.js

Error: ENOENT: no such file or directory

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

author identity unknownGit

Author identity unknown *** Please tell me who you are.

Git doesn’t know your name and email for commits.

Filename too longGit

error: unable to create file x: Filename too long (Windows)

Windows’ 260-character path limit blocked Git from creating a file.

JAVA_HOME not setJava

ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.

Build tools (Gradle, Maven, Android tools) can’t find a JDK.

aws: error: argumentAWS

aws: error: argument command: Invalid choice / Unknown options

The AWS CLI doesn’t recognise the command or option — usually CLI v1 vs v2 differences, an old CLI version, or a typo.

docker-compose: command not foundDocker

docker-compose: command not found / 'compose' is not a docker command

Your system has only one of the two Compose flavours: the old docker-compose (v1) binary or the newer docker compose (v2) plugin.

Output directory not foundCloudflare

Cloudflare Pages build: Error: Output directory "dist" not found / Failed: build output directory not found

The Pages build finished, but the folder set as “Build output directory” doesn’t exist — the framework wrote its files somewhere…

pathspec did not matchGit

error: pathspec 'x' did not match any file(s) known to git

Git couldn’t find the file or branch name you referenced.

not a git repositoryGit

fatal: not a git repository (or any of the parent directories): .git

You ran a Git command outside a Git working tree.

FileNotFoundExceptionJava

java.io.FileNotFoundException: config.properties (No such file or directory)

Java couldn’t open the file — wrong path relative to the working directory, missing file, or a classpath resource read as a file.

adb server version doesn't matchAndroid

adb server version (41) doesn't match this client (39); killing...

Two different adb binaries are running — e.g. Android Studio’s SDK adb and another one on PATH (Homebrew, Genymotion, older SDK).

Default FirebaseApp is not initializedAndroid

IllegalStateException: Default FirebaseApp is not initialized in this process

Firebase couldn’t initialise because google-services.json or the Google Services Gradle plugin is missing/misapplied, or initiali…

Two steps away (36)

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.

command not foundLinux

bash: command not found

The shell can’t find an executable with that name in any directory on your PATH.

0x80070002Windows

Windows Error 0x80070002: The system cannot find the file specified

A file or registry entry Windows expected is missing — common in Windows Update, backups and app installs.

413HTTP

HTTP 413 Content Too Large (Request Entity Too Large)

The request body is bigger than the server is willing to accept — usually a file upload over the configured limit.

redirect_uri_mismatchAuthentication

OAuth Error: redirect_uri_mismatch

The redirect URI in your OAuth request doesn’t exactly match one registered for the client in the provider’s console.

divergent branchesGit

hint: You have divergent branches and need to specify how to reconcile them.

Git 2.27+ asks you to choose merge, rebase or fast-forward-only when local and remote both have new commits.

NoSuchFileExceptionJava

java.nio.file.NoSuchFileException: /path/file

An NIO Files operation targeted a path that doesn’t exist.

EISDIRNode.js

Error: EISDIR: illegal operation on a directory, read

A file API (readFile, writeFile, createReadStream) was given a directory path.

ENOTDIRNode.js

Error: ENOTDIR: not a directory

A path treats a file as if it were a directory (e.g. file.txt/child).

Unsupported class file major versionAndroid

Gradle: Unsupported class file major version / Android Gradle plugin requires Java 17 to run

The JDK running Gradle doesn’t match what the Gradle version or Android Gradle Plugin (AGP) supports.

UnsupportedClassVersionErrorJava

java.lang.UnsupportedClassVersionError: class file version 61.0, this version of the Java Runtime only recognizes up to 55.0

Code compiled for a newer Java version is running on an older JVM.

release version not supportedJava

[ERROR] Fatal error compiling: error: release version 17 not supported

The JDK running Maven is older than the Java version the project compiles for.

yarn not foundnpm

yarn: command not found

Yarn isn’t installed (or not enabled through Corepack) on this machine.

Target container is not a DOM elementReact

Error: createRoot(...): Target container is not a DOM element.

The element passed to createRoot/render doesn’t exist when the script runs.

ReactDOM.render deprecatedReact

Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead.

The app uses the legacy root API, so React 18 features (concurrent rendering, automatic batching) are disabled.

compose validationDocker

docker compose: services.x Additional property y is not allowed / yaml: line N: mapping values are not allowed

The compose file is invalid YAML or uses a key Compose doesn’t recognise at that level (usually an indentation mistake).

invalid reference formatDocker

docker: invalid reference format (repository name must be lowercase)

Docker couldn’t parse the image name — uppercase letters, spaces, an empty variable, or a misplaced option.

No such containerDocker

Error response from daemon: No such container

The container name or ID you used doesn’t exist on this Docker host — it was removed, has another name, or you’re talking to a di…

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…

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.

COPY failedDocker

COPY failed: file not found in build context / "/app/x": not found

The Dockerfile COPY refers to a path outside the build context, excluded by .dockerignore, or relative to the wrong directory.

non-fast-forwardGit

Git: ! [rejected] … (fetch first) — error: failed to push some refs

The remote branch has commits you don’t have locally, so Git refuses to overwrite them. Pull (merge or rebase) first, then push.

detached HEADGit

You are in 'detached HEAD' state.

HEAD points at a commit instead of a branch, so new commits won’t belong to any branch.

couldn't find remote refGit

fatal: couldn't find remote ref main

The branch you tried to pull/fetch doesn’t exist on the remote.

publickeyGit

Git: Permission denied (publickey). fatal: Could not read from remote repository.

SSH authentication to GitHub/GitLab/Bitbucket failed — no key, wrong key, or the key isn’t added to your account.

WSL 2 installation is incompleteDocker

Docker Desktop: WSL 2 installation is incomplete / WSL update required

Docker Desktop on Windows needs WSL 2 and its Linux kernel; they’re missing, outdated or disabled.

SDK location not foundAndroid

SDK location not found. Define a valid SDK location with an ANDROID_HOME environment variable or by setting the sdk.dir path in local.properties

Gradle doesn’t know where the Android SDK is installed.

AccessDeniedExceptionJava

java.nio.file.AccessDeniedException: /path

The OS denied a file operation to the Java process.

EEXISTNode.js

Error: EEXIST: file already exists, mkdir

Node tried to create a file/directory/symlink that already exists.

ENOTEMPTYnpm

npm ERR! code ENOTEMPTY — ENOTEMPTY: directory not empty, rename

npm couldn’t rename a folder in node_modules because it wasn’t empty — usually a corrupted or concurrently modified node_modules.

INSTALL_FAILED_UPDATE_INCOMPATIBLEAndroid

Android: INSTALL_FAILED_UPDATE_INCOMPATIBLE

An app with the same package name but a different signing key is already installed on the device.

INSTALL_FAILED_INSUFFICIENT_STORAGEAndroid

INSTALL_FAILED_INSUFFICIENT_STORAGE: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]

The device or emulator doesn’t have enough free internal storage to install the APK.

INSTALL_FAILED_TEST_ONLYAndroid

INSTALL_FAILED_TEST_ONLY: installPackageLI

The APK is marked testOnly (built by Android Studio’s Run button), so normal installs refuse it.

ApiException: 10Android

Google Sign-In: com.google.android.gms.common.api.ApiException: 10 (DEVELOPER_ERROR)

Google Sign-In is misconfigured — the app’s package name or SHA-1/SHA-256 signing fingerprint isn’t registered in Google Cloud/Fi…

missing the MySQL extensionWordPress

WordPress: Your PHP installation appears to be missing the MySQL extension which is required by WordPress

PHP doesn’t have the mysqli extension loaded, so WordPress can’t talk to the database.

auth/invalid-credentialAuthentication

Firebase Auth: auth/invalid-credential (auth/wrong-password, auth/user-not-found, auth/invalid-login-credentials)

Firebase rejected the email/password sign-in — wrong password, no such user, or a provider credential that’s malformed/expired.