Skip to content

Error signatures

Saw an error? Find the landmine.

‘No mapping between account names and security IDs’ from icacls/ACL calls with unresolvable principals.

env-domain-principal

expect(received).toBe(expected) with Expected/Received differing — the test ran to its assertion and the observed value was wrong, as opposed to a crash, timeout, or setup error.

bigint-file-identity-on-windows · homedir-escapes-test-sandbox · ntfs-atime-disabled-by-default

A POSIX exec layer reports the shebang target as missing, usually ‘bad interpreter: No such file or directory’, naming an interpreter that exists. A trailing carriage return inside the name is the usual cause.

autocrlf-shebang-cr

‘X is not recognized as an internal or external command’ — stale PATH snapshot or wrong-shell syntax.

msys-rewrites-slash-args · actions-default-shell · cmd-posix-env-prefix · npm-script-runs-under-cmd · bomless-bat-oem-codepage · cmd-lf-drops-first-byte · path-unmatched-quote-swallows · session-path-stale

A bind is refused because the endpoint is occupied, and on Windows the occupant may be a leftover transmission control block rather than a process, so the port appears busy while every process listing is empty.

tcp-tcb-survives-listener

Node reports EBUSY when Windows refuses a rename or delete because another handle holds the file without FILE_SHARE_DELETE; the error names neither the holder nor the reason.

async-child-holds-dir-after-stop · atomic-rename-loses-to-scanner · cwd-locked-cannot-unlink · unlink-while-open-ebusy

Wrong file type for execution — e.g. attempting to CreateProcess a .ps1 script.

get-command-where-disagree · dot-sh-association-exits-zero

Invalid argument from spawn — on Windows typically the .cmd/.bat hardening or malformed argv.

spawn-npm-enoent-einval

Win32 reports a path over the API ceiling as ERROR_FILENAME_EXCED_RANGE or ERROR_BUFFER_OVERFLOW; Node surfaces both as ENAMETOOLONG while Python maps the same code to ENOENT, so one wall is reported as two different problems.

createprocess-cmdline-32767 · max-path-260

File or command not found — on Windows often a PATHEXT/extension resolution miss, not a missing file.

get-command-where-disagree · spawn-npm-enoent-einval · test-budget-sized-from-local-timing · cmd-unc-cwd-not-supported · file-url-encodes-backslash · file-url-pathname-drive-slash · pathext-bare-name-enoent · test-path-trailing-whitespace · dev-null-redirect

Operation not permitted — including WindowsApps appExecLink spawn denials.

killed-run-contaminates-next-run · async-child-holds-dir-after-stop · atomic-rename-loses-to-scanner · fsync-readonly-handle-eperm · icacls-inheritance-r-empty-dacl · unlink-while-open-ebusy · windowsapps-alias-eperm · wsl-unc-rejects-nt-acl

A handled or meaningless exit code propagates into step/process failure.

file-url-pathname-drive-slash · explorer-exits-one · perl-alarm-raw-wait-status · pwsh-leaks-lastexitcode

Windows reports a runtime that aborted itself with the fastfail code 0xC0000409, whose documented meaning is stack buffer overrun; a libuv assertion during teardown surfaces this way and misdescribes the cause.

process-exit-fastfail-0xc0000409

cmd.exe rejects a %~ batch-parameter substitution it cannot resolve, reports the usage as invalid and points the reader at CALL /? or FOR /?, then aborts the script with exit 255.

cmd-rem-substitutes-parameters

Downstream JSON parse failure after the shell shredded quoted arguments.

backslash-quote-ends-span

Node’s ESM loader rejects a specifier whose scheme is not file, data, or node; on Windows an absolute path supplies its drive letter as the scheme.

dynamic-import-needs-file-url

A runtime reports ‘Cannot find module’ for a path the author never wrote, because a layer between the config and the loader rewrote it.

config-string-eats-windows-path

Corrupted text output from encoding mismatches (UTF-16/BOM/ANSI vs UTF-8).

bom-less-ps1-cp949 · bomless-bat-oem-codepage · oss-outfile-bom · python-subprocess-locale-encoding · redirected-ps-output-mojibake · tee-object-utf16 · ps51-vs-7-split

PS 5.1 wrapper around native stderr lines when redirected under strict error preference.

native-stderr-errorrecord

-File refused a file lacking the .ps1 extension.

ps-file-extension-dispatch

Parameter binding failure — often an alias hijack or interpolated/mangled arguments.

curl-alias · english-and-not-separator · piped-iex-drops-params · utf8-bom-still-breaks-grep · ps51-vs-7-split

PowerShell parser rejection — e.g. && on 5.1.

ps-quoted-path-is-expression · actions-default-shell · ps51-no-and-and

StrictMode throw on missing property access.

strictmode-missing-property

Execution policy refused to run a script file.

npm-ps1-not-comspec · execution-policy-file-block

The Microsoft Store alias exits 9009 printing ‘Python was not found; run without arguments to install from the Microsoft Store’ instead of running an interpreter.

windowsapps-python3-stub-needs-probe

An interpreter reports a syntax error in a file that is valid in the language it was actually written in, because something else chose which interpreter would run it.

caller-picks-interpreter-not-shebang

The user’s interactive session terminates because script text ran in-session (iex + exit).

irm-iex-kills-host

“this test timed out after N ms” from the test runner: the body was aborted, not an assertion. Children it spawned are still running until the runner reaps them at the end.

aside-sync-resources-outlive-isolate-file · test-budget-sized-from-local-timing

cmd.exe reports a token it cannot place as ‘ was unexpected at this time’, naming the token rather than whatever displaced the line that produced it.

cmd-bom-displaces-label

“Unhandled error between tests” (Bun) or an unhandledRejection event: a promise rejected with no awaiter, typically a race branch that lost and was rejected later by a kill or teardown.

test-budget-sized-from-local-timing

A CLI reports prose words as unknown flags because the shell split one argument into many.

prose-as-unknown-flags

StrictMode ‘variable cannot be retrieved’ from unintended string interpolation.

dq-regex-interpolates

A test reports pass but its assertion cannot fail on this platform: the property it checks is never observed, so a broken implementation would pass identically. Worse than a failure because it is invisible.

ntfs-atime-disabled-by-default