Error map

ENOTDIR Error: ENOTDIR: not a 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.

ENOTDIR — Error: ENOTDIR: not a directory (Node.js)ENOTDIREPERM — Error: EPERM: operation not permitted, rename / unlink (Node.js)EPERM0x80070020 — 0x80070020: The process cannot access the file because it is being used by another process (Windows)0x80070020ENOENT — Error: ENOENT: no such file or directory (Node.js)ENOENTwrong 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 …Access to the path is denied — System.UnauthorizedAccessException: Access to the path 'x' is denied (.NET)Access to the path …FileNotFoundException — java.io.FileNotFoundException: config.properties (No such file or directory) (Java)FileNotFoundExcepti…FileNotFoundError — FileNotFoundError: [Errno 2] No such file or directory: 'data.csv' (Python)FileNotFoundErrorFilename too long — error: unable to create file x: Filename too long (Windows) (Git)Filename too longArgument list too long — bash: /bin/rm: Argument list too long (Linux)Argument list too l…0x80070570 — Error 0x80070570: The file or directory is corrupted and unreadable (Windows)0x80070570No space left on device (inodes) — No space left on device, but df shows free space (inodes exhausted) (Linux)No space left on de…NoSuchFileException — java.nio.file.NoSuchFileException: /path/file (Java)NoSuchFileExceptionEACCES — npm ERR! code EACCES — permission denied (npm)EACCESEACCES — Linux: Permission denied (Linux)EACCESAccessDeniedException — java.nio.file.AccessDeniedException: /path (Java)AccessDeniedExcepti…0x80070005 — Windows Error 0x80070005 (E_ACCESSDENIED): Access is denied (Windows)0x80070005EISDIR — Error: EISDIR: illegal operation on a directory, read (Node.js)EISDIREEXIST — Error: EEXIST: file already exists, mkdir (Node.js)EEXISTMODULE_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)0x80070002ENOTEMPTY — npm ERR! code ENOTEMPTY — ENOTEMPTY: directory not empty, rename (npm)ENOTEMPTYfailed to open stream — Warning: include(x.php): Failed to open stream: No such file or directory (PHP)failed to open stre…UnicodeDecodeError — UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 10: invalid start byte (Python)UnicodeDecodeErrordaemon — Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? (Docker)daemon403 — HTTP 403 Forbidden (HTTP)403invalid_scope — OAuth 2.0 Error: invalid_scope / insufficient_scope (Authentication)invalid_scopeENOENT — npm ERR! enoent ENOENT: no such file or directory, open '/path/package.json' (npm)ENOENTEROFS — npm ERR! code EROFS — EROFS: read-only file system (npm)EROFSIllegalArgumentException: Failed to find configured root — java.lang.IllegalArgumentException: Failed to find configured root that contains /data/user/0/com.example/files/img.png (Android)IllegalArgumentExce…PermissionError — PermissionError: [Errno 13] Permission denied: '/path' (Python)PermissionErrorunable to open database — sqlite3.OperationalError: unable to open database file (SQL)unable to open data…pathspec did not match — error: pathspec 'x' did not match any file(s) known to git (Git)pathspec did not ma…WSL 2 installation is incomplete — Docker Desktop: WSL 2 installation is incomplete / WSL update required (Docker)WSL 2 installation …Git doesn't detect file rename that only changes case — (behavior) git status shows nothing after renaming File.js to file.js (Git)Git doesn't detect …executable file not found in $PATH — OCI runtime create failed: exec: "x": executable file not found in $PATH (Docker)executable file not…Read-only file system — Read-only file system (EROFS) — cannot write to disk (Linux)Read-only file syst…target is busy — umount: target is busy / Device or resource busy (Linux)target is busyMEMORY_MANAGEMENT — Blue Screen: MEMORY_MANAGEMENT (Stop code 0x0000001A) (Windows)MEMORY_MANAGEMENTToo many levels of symbolic links — Too many levels of symbolic links (ELOOP) (Linux)Too many levels of …0x8007000D — Windows error 0x8007000D (The data is invalid) (Windows)0x8007000DENOSPC — no space left on device (Docker / Linux) (Docker)ENOSPCDisk quota exceeded — Disk quota exceeded (EDQUOT) (Linux)Disk quota exceeded0x80070070 — Windows error 0x80070070 (There is not enough space on the disk) (Windows)0x80070070

Directly related (12)

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.

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.

ENOENTNode.js

Error: ENOENT: no such file or directory

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

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…

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…

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.

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.

Filename too longGit

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

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

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.

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.

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…

NoSuchFileExceptionJava

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

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

Two steps away (32)

EACCESnpm

npm ERR! code EACCES — permission denied

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

EACCESLinux

Linux: Permission denied

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

AccessDeniedExceptionJava

java.nio.file.AccessDeniedException: /path

The OS denied a file operation to the Java process.

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…

EISDIRNode.js

Error: EISDIR: illegal operation on a directory, read

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

EEXISTNode.js

Error: EEXIST: file already exists, mkdir

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

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.

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.

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.

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

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.

403HTTP

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…

invalid_scopeAuthentication

OAuth 2.0 Error: invalid_scope / insufficient_scope

The requested scope is unknown or not allowed for this client — or the token lacks the scope the API endpoint requires.

ENOENTnpm

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

npm ran in a directory without a package.json.

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

IllegalArgumentException: Failed to find configured rootAndroid

java.lang.IllegalArgumentException: Failed to find configured root that contains /data/user/0/com.example/files/img.png

The FileProvider paths XML doesn't cover the file you're sharing.

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.

unable to open databaseSQL

sqlite3.OperationalError: unable to open database file

SQLite couldn’t open or create the database file — wrong path or missing/unwritable directory.

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.

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.

Git doesn't detect file rename that only changes caseGit

(behavior) git status shows nothing after renaming File.js to file.js

On case-insensitive file systems Git doesn't notice a case-only rename.

executable file not found in $PATHDocker

OCI runtime create failed: exec: "x": executable file not found in $PATH

The command you asked the container to run doesn’t exist inside the image — wrong command name, a shell that isn’t installed (bas…

Read-only file systemLinux

Read-only file system (EROFS) — cannot write to disk

The filesystem is mounted read-only — often because the kernel remounted it after detecting disk errors.

target is busyLinux

umount: target is busy / Device or resource busy

The filesystem or device can’t be unmounted or removed because a process is still using it.

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.

Too many levels of symbolic linksLinux

Too many levels of symbolic links (ELOOP)

A symlink points to itself, directly or through a chain, so path resolution loops.

0x8007000DWindows

Windows error 0x8007000D (The data is invalid)

Windows read update, installer or setup data that is corrupted or incomplete.

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.

Disk quota exceededLinux

Disk quota exceeded (EDQUOT)

Your user or group has used its storage quota on this filesystem, even if the disk itself has space.

0x80070070Windows

Windows error 0x80070070 (There is not enough space on the disk)

The update, upgrade or copy needs more free disk space than is available.