Error map
WRONGTYPE WRONGTYPE Operation against a key holding the wrong kind of value
Node.js · layer 4, Application & API
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.
Directly related (12)
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.
Error: listen EADDRINUSE: address already in use :::3000
Another process is already listening on that port.
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.
WordPress: Error establishing a Redis connection (object cache)
The persistent object cache drop-in (object-cache.php) can’t connect to Redis, so the whole site fails.
DeprecationWarning: Buffer() is deprecated due to security and usability issues (DEP0005)
Code (yours or a dependency) uses the deprecated new Buffer() constructor.
SyntaxError: Cannot use import statement outside a module
An `import` statement ran in a context treated as CommonJS (Node without "type": "module", a browser script without type="module"…
ReplyError: NOAUTH Authentication required.
The Redis server requires a password (or ACL user) but the client didn’t authenticate.
Redis Cluster: (error) CROSSSLOT Keys in request don't hash to the same slot
A multi-key command or transaction used keys that live in different cluster slots.
BullMQ: Error: Missing lock for job 42. moveToFinished / job stalled more than allowable limit
A BullMQ worker lost the lock on a job (it took too long or the event loop was blocked), so the job is considered stalled.
Celery: Task executed twice / Restoring unacked messages — Redis broker visibility_timeout shorter than task ETA
Celery's Redis transport redelivers a task if it isn't acknowledged within `visibility_timeout` (1 hour by default).
DeprecationWarning: The `punycode` module is deprecated (DEP0040)
A dependency imports Node’s built-in punycode module, deprecated since Node 21.
Redis: (error) BUSY Redis is busy running a script. You can only call SCRIPT KILL or SHUTDOWN NOSAVE
A long-running Lua script (or function) blocks the single-threaded server, so other commands are rejected.
Two steps away (36)
npm ERR! code ERESOLVE — unable to resolve dependency tree
npm 7+ found conflicting peer dependency requirements and refuses to install a broken tree.
Error: ENOENT: no such file or directory
A file or directory the program tried to open doesn’t exist at that path.
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…).
Error: connect ECONNREFUSED 127.0.0.1:5432
Nothing is listening at that host:port — the target service is down or you’re connecting to the wrong address.
Docker: Bind for 0.0.0.0:80 failed: port is already allocated
Another container or host process already publishes that host port.
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…
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.
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…
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.
WordPress: Error Establishing a Database Connection
WordPress can’t connect to its MySQL/MariaDB database with the credentials in wp-config.php, or the database server is down.
HTTP 304 Not Modified
The cached copy is still valid, so the server sends no body and the client reuses its cache.
HTTP 412 Precondition Failed
A conditional request header (If-Match, If-Unmodified-Since) didn’t match the current state of the resource.
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
An Express/Node handler tried to send a second response (or set headers) after one was already sent.
TypeError [ERR_IMPORT_ATTRIBUTE_MISSING]: Module needs an import attribute of "type: json"
An ES module imported a .json file without the required import attribute.
Error: Unhandled 'error' event (events.js / node:events)
An EventEmitter (stream, socket, child process, server) emitted 'error' and nothing listened for it, so Node crashed.
ReferenceError: x is not defined
Code refers to a variable or function name that doesn’t exist in the current scope.
Error [ERR_REQUIRE_ESM]: require() of ES Module not supported
CommonJS code used `require()` on a package that is ES-module-only (node-fetch 3, chalk 5, nanoid 4, got 12…).
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts"
Node tried to run a TypeScript file as ESM without a TypeScript loader.
Azure AD (Entra ID): AADSTS700016 Application not found in the directory
The client ID in your sign-in request doesn’t exist in the tenant you’re authenticating against.
JWT Expired / Invalid Token
The JSON Web Token sent with the request is expired, malformed or signed with a different key, so the API rejects it (usually wit…
OAuth 2.0 Error: invalid_grant
The authorization code, refresh token or credentials sent to the token endpoint are invalid, expired, already used or were issued…
Redis Cluster: (error) CLUSTERDOWN Hash slot not served / The cluster is down
The cluster has hash slots that no node currently serves, so keys in those slots can't be accessed.
Redis: (error) MOVED 3999 10.0.0.6:6379 / ReplyError: MOVED 12182 192.168.0.5:7001
The key lives on another cluster node, and the client isn't cluster-aware, so it just sees the redirect.
Redis: (error) NOSCRIPT No matching script. Please use EVAL.
`EVALSHA` referenced a script hash the server doesn't have cached (after restart, failover, or `SCRIPT FLUSH`).
Laravel Queue: Illuminate\Queue\MaxAttemptsExceededException: App\Jobs\SendReport has been attempted too many times or run too long
A queued job failed repeatedly or ran past its timeout, so it was marked failed.
Redis: Error: connect ECONNREFUSED 127.0.0.1:6379 / Could not connect to Redis at 127.0.0.1:6379: Connection refused
Nothing is listening on the Redis host/port your client uses.
Redis: DENIED Redis is running in protected mode because protected mode is enabled and no password is set for the default user
Redis refuses connections from non-local clients when it has no password and is bound to all interfaces.
Redis: (error) NOAUTH Authentication required. / WRONGPASS invalid username-password pair or user is disabled
The server requires a password (or ACL user) and the client sent none or the wrong one.
Redis: Error: read ECONNRESET / redis.exceptions.ConnectionError: Connection reset by peer after idle time
A middlebox or Redis closed an idle connection, and the pooled client reused it.
Redis: ERR max number of clients reached
Redis hit its `maxclients` limit (default 10000, lower if the OS limit is low), so new connections are refused.
Gradle: Could not resolve all files for configuration / Could not resolve dependency
Gradle couldn’t download a dependency — wrong coordinates/version, missing repository, offline mode, or network/proxy issues.
java.lang.ClassNotFoundException / NoClassDefFoundError
The JVM couldn’t find a class on the classpath at runtime.
CocoaPods could not find compatible versions for pod
pod install can’t satisfy the version constraints — outdated spec repo, a higher deployment target required, or two pods needing…
Redis: OOM command not allowed when used memory > 'maxmemory'
Redis reached its maxmemory limit and the eviction policy (noeviction) refuses new writes.
Redis: Error: write EPROTO ... SSL routines:ssl3_get_record:wrong version number / Connection reset by peer (TLS vs plaintext)
The client and server disagree about TLS — plaintext client to a TLS port, or TLS client to a plaintext port.
Redis: Client id=12 addr=10.0.0.5:51234 scheduled to be closed ASAP for overcoming of output buffer limits
A client (often a slow subscriber or a replica) couldn't read data fast enough, so Redis disconnected it to protect memory.