Error map

ENOENT Error: ENOENT: no such file or directory

Node.js · layer 4, Application & API

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 — Error: ENOENT: no such file or directory (Node.js)ENOENTMODULE_NOT_FOUND — Error: Cannot find module 'x' (MODULE_NOT_FOUND) (Node.js)MODULE_NOT_FOUND0x80070002 — Windows Error 0x80070002: The system cannot find the file specified (Windows)0x80070002COPY failed — COPY failed: file not found in build context / "/app/x": not found (Docker)COPY failedENOENT — npm ERR! enoent ENOENT: no such file or directory, open '/path/package.json' (npm)ENOENTAccess to the path is denied — System.UnauthorizedAccessException: Access to the path 'x' is denied (.NET)Access to the path …Filename too long — error: unable to create file x: Filename too long (Windows) (Git)Filename too longspawn EACCES — Error: spawn EACCES (Node.js)spawn EACCESFileNotFoundError — FileNotFoundError: [Errno 2] No such file or directory: 'data.csv' (Python)FileNotFoundError0x80070570 — Error 0x80070570: The file or directory is corrupted and unreadable (Windows)0x80070570ENOSPC — no space left on device (Docker / Linux) (Docker)ENOSPCNoSuchFileException — java.nio.file.NoSuchFileException: /path/file (Java)NoSuchFileExceptionEISDIR — Error: EISDIR: illegal operation on a directory, read (Node.js)EISDIRERESOLVE — npm ERR! code ERESOLVE — unable to resolve dependency tree (npm)ERESOLVETypeError: not a function — TypeError: x is not a function (JavaScript)TypeError: not a fu…ModuleNotFoundError — ModuleNotFoundError: No module named 'x' (Python)ModuleNotFoundError0x80070005 — Windows Error 0x80070005 (E_ACCESSDENIED): Access is denied (Windows)0x800700050x80004005 — Windows Error 0x80004005 (E_FAIL): Unspecified error (Windows)0x800040050x80070643 — Windows Error 0x80070643: Fatal error during installation (Windows)0x80070643not a git repository — fatal: not a git repository (or any of the parent directories): .git (Git)not a git repositoryexec format error — exec /usr/local/bin/docker-entrypoint.sh: exec format error (Docker)exec format errorcompose validation — docker compose: services.x Additional property y is not allowed / yaml: line N: mapping values are not allowed (Docker)compose validationpathspec did not match — error: pathspec 'x' did not match any file(s) known to git (Git)pathspec did not ma…author identity unknown — Author identity unknown *** Please tell me who you are. (Git)author identity unk…FileNotFoundException — java.io.FileNotFoundException: config.properties (No such file or directory) (Java)FileNotFoundExcepti…EACCES — npm ERR! code EACCES — permission denied (npm)EACCESdaemon — Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? (Docker)daemonEACCES — Linux: Permission denied (Linux)EACCESENOTDIR — Error: ENOTDIR: not a directory (Node.js)ENOTDIRWSL 2 installation is incomplete — Docker Desktop: WSL 2 installation is incomplete / WSL update required (Docker)WSL 2 installation …EADDRINUSE — Error: listen EADDRINUSE: address already in use :::3000 (Node.js)EADDRINUSElisten EACCES — Error: listen EACCES: permission denied 0.0.0.0:80 (Node.js)listen EACCESEPERM — Error: EPERM: operation not permitted, rename / unlink (Node.js)EPERMfailed to open stream — Warning: include(x.php): Failed to open stream: No such file or directory (PHP)failed to open stre…PermissionError — PermissionError: [Errno 13] Permission denied: '/path' (Python)PermissionErrorUnicodeDecodeError — UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 10: invalid start byte (Python)UnicodeDecodeErrorMEMORY_MANAGEMENT — Blue Screen: MEMORY_MANAGEMENT (Stop code 0x0000001A) (Windows)MEMORY_MANAGEMENTAccessDeniedException — java.nio.file.AccessDeniedException: /path (Java)AccessDeniedExcepti…EEXIST — Error: EEXIST: file already exists, mkdir (Node.js)EEXISTEvicted — Kubernetes: Pod Evicted — The node was low on resource: memory / ephemeral-storage (Kubernetes)Evicted1114 — MySQL ERROR 1114 (HY000): The table 'x' is full (MySQL)1114ENOSPC — Error: ENOSPC: System limit for number of file watchers reached (npm)ENOSPCENOTEMPTY — npm ERR! code ENOTEMPTY — ENOTEMPTY: directory not empty, rename (npm)ENOTEMPTYEROFS — npm ERR! code EROFS — EROFS: read-only file system (npm)EROFSNo space left on device (inodes) — No space left on device, but df shows free space (inodes exhausted) (Linux)No space left on de…Argument list too long — bash: /bin/rm: Argument list too long (Linux)Argument list too l…wrong fs type, bad option, bad superblock — mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program (Linux)wrong fs type, bad …0x80070020 — 0x80070020: The process cannot access the file because it is being used by another process (Windows)0x80070020

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.

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.

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.

ENOENTnpm

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

npm ran in a directory without a package.json.

Access to the path is denied.NET

System.UnauthorizedAccessException: Access to the path 'x' is denied

The process’s identity can’t read/write that file or folder — IIS app pool identity, container user, read-only attribute, or a di…

Filename too longGit

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

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

spawn EACCESNode.js

Error: spawn EACCES

Node tried to execute a file that isn’t executable (missing +x permission) or isn’t a program.

FileNotFoundErrorPython

FileNotFoundError: [Errno 2] No such file or directory: 'data.csv'

Python couldn’t find the file at that path — usually because relative paths resolve from the working directory, not the script.

0x80070570Windows

Error 0x80070570: The file or directory is corrupted and unreadable

Windows can’t read a file because the disk, USB stick or installation media has corrupted data or bad sectors.

ENOSPCDocker

no space left on device (Docker / Linux)

The disk (or inode table) is full — Docker images, build cache, logs and volumes are common culprits.

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.

Two steps away (35)

ERESOLVEnpm

npm ERR! code ERESOLVE — unable to resolve dependency tree

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

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…).

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…

0x80070005Windows

Windows Error 0x80070005 (E_ACCESSDENIED): Access is denied

Windows refused an operation because the account or process lacks permission — seen in Windows Update, installers, Task Scheduler…

0x80004005Windows

Windows Error 0x80004005 (E_FAIL): Unspecified error

A generic failure code — the operation failed for a reason the component didn’t report precisely. Context decides the fix.

0x80070643Windows

Windows Error 0x80070643: Fatal error during installation

An MSI-based installer or update (often Defender definitions, .NET or the WinRE update KB5034441) failed during installation.

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.

exec format errorDocker

exec /usr/local/bin/docker-entrypoint.sh: exec format error

The container tried to run a binary built for a different CPU architecture (arm64 vs amd64) — or a script with a broken shebang /…

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).

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.

author identity unknownGit

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

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

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.

EACCESnpm

npm ERR! code EACCES — permission denied

npm can’t write to a directory — usually global installs into a root-owned folder.

daemonDocker

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

The docker CLI can’t talk to the Docker engine — it isn’t running, or your user can’t access the socket.

EACCESLinux

Linux: Permission denied

Your user (or the service user) lacks read/write/execute permission on a file, directory or one of its parents.

ENOTDIRNode.js

Error: ENOTDIR: not a directory

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

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.

EADDRINUSENode.js

Error: listen EADDRINUSE: address already in use :::3000

Another process is already listening on that port.

listen EACCESNode.js

Error: listen EACCES: permission denied 0.0.0.0:80

Node isn’t allowed to bind that port — ports below 1024 need root on Linux/macOS, and some Windows ports are reserved.

EPERMNode.js

Error: EPERM: operation not permitted, rename / unlink

The OS refused a file operation — on Windows usually because another process (antivirus, editor, indexer) has the file locked.

failed to open streamPHP

Warning: include(x.php): Failed to open stream: No such file or directory

PHP couldn’t open a file for include/require/fopen — wrong path, missing file, or no permission.

PermissionErrorPython

PermissionError: [Errno 13] Permission denied: '/path'

The OS refused the file operation — no permission, a directory passed to open(), or (on Windows) the file is open elsewhere.

UnicodeDecodeErrorPython

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 10: invalid start byte

Python read bytes that aren’t valid in the encoding it assumed (usually UTF-8).

MEMORY_MANAGEMENTWindows

Blue Screen: MEMORY_MANAGEMENT (Stop code 0x0000001A)

Windows detected a severe memory-management error — commonly faulty RAM, unstable memory settings or a bad driver.

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.

EvictedKubernetes

Kubernetes: Pod Evicted — The node was low on resource: memory / ephemeral-storage

The kubelet removed the pod because its node ran short of memory or disk.

1114MySQL

MySQL ERROR 1114 (HY000): The table 'x' is full

MySQL couldn’t extend the table — disk full, a size limit, or a MEMORY table hitting max_heap_table_size.

ENOSPCnpm

Error: ENOSPC: System limit for number of file watchers reached

Linux ran out of inotify watches — dev servers watching large projects hit the limit.

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.

EROFSnpm

npm ERR! code EROFS — EROFS: read-only file system

npm tried to write to a read-only location (read-only container filesystem, mounted volume, or system path).

No space left on device (inodes)Linux

No space left on device, but df shows free space (inodes exhausted)

The filesystem has run out of inodes — the slots for files — even though there are gigabytes free, usually because of millions of…

Argument list too longLinux

bash: /bin/rm: Argument list too long

A glob like * expanded to more file names than the kernel allows in one command (ARG_MAX), so the command never ran.

wrong fs type, bad option, bad superblockLinux

mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program

mount couldn’t mount the device — the filesystem type isn’t supported/installed, the partition is wrong, or the filesystem is dam…

0x80070020Windows

0x80070020: The process cannot access the file because it is being used by another process

Another program has the file open (locked), so Windows can’t modify, delete or replace it.