Node.js error codes
Search by code or error message to find official explanations and troubleshooting or diagnostic links.
Search runs in your browser. The same number can have different meanings in different products.
Node.js Code
449 results- no longer supported
A Node.js API was called in an unsupported manner, such as Buffer.write(string, encoding, offset[, length]).
Node.jsNode.js - no temporal
An attempt was made to use features that require Temporal, but Node.js was not compiled with Temporal support or it has been disabled in the current environment (for example, when running with --no-harmony-temporal).
Node.jsNode.js - no typescript
An attempt was made to use features that require Native TypeScript support, but Node.js was not compiled with TypeScript support.
Node.jsNode.js - operation failed
An operation failed. This is typically used to signal the general failure of an asynchronous operation.
Node.jsNode.js - options before bootstrapping
An attempt was made to get options before the bootstrapping was completed.
Node.jsNode.js - outofmemory
Used generically to identify that an operation caused an out of memory condition.
Node.jsNode.js - out of range
A given value is out of the accepted range.
Node.jsNode.js - package import not defined
The package.json "imports" field does not define the given internal package specifier mapping.
Node.jsNode.js - package map external file
A module attempted to resolve a bare specifier using the package map, but the importing file is not located within any package defined in the map. To fix this error, ensure the importing file is inside one of the package directories listed in the package map, or add a new package entry whose url covers the importing file.
Node.jsNode.js - package map invalid
The package map configuration file is invalid. This can occur when:
Node.jsNode.js - package map key not found
A package's dependencies object in the package map references a package key that is not defined in the packages object. In this example, "nonexistent" is referenced as a dependency target but not defined in packages, which will throw this error. To fix this error, ensure all package keys referenced in dependencies values are defined in the packages object.
Node.jsNode.js - package path not exported
The package.json "exports" field does not export the requested subpath. Because exports are encapsulated, private internal modules that are not exported cannot be imported through the package resolution, unless using an absolute URL.
Node.jsNode.js - parse args invalid option value
When strict set to true, thrown by util.parseArgs() if a <boolean> value is provided for an option of type <string>, or if a <string> value is provided for an option of type <boolean>.
Node.jsNode.js - parse args unexpected positional
Thrown by util.parseArgs(), when a positional argument is provided and allowPositionals is set to false.
Node.jsNode.js - parse args unknown option
When strict set to true, thrown by util.parseArgs() if an argument is not configured in options.
Node.jsNode.js - parse history data
The node:repl module was unable to parse data from the REPL history file.
Node.jsNode.js - performance invalid timestamp
An invalid timestamp value was provided for a performance mark or measure.
Node.jsNode.js - performance measure invalid options
Invalid options were provided for a performance measure.
Node.jsNode.js - proto access
Accessing Object.prototype.__proto__ has been forbidden using --disable-proto=throw. Object.getPrototypeOf and Object.setPrototypeOf should be used to get and set the prototype of an object.
Node.jsNode.js - proxy invalid config
Failed to proxy a request because the proxy configuration is invalid.
Node.jsNode.js - proxy tunnel
Failed to establish proxy tunnel when NODE_USE_ENV_PROXY or --use-env-proxy is enabled.
Node.jsNode.js - quic application error
A QUIC application error occurred.
Node.jsNode.js - quic connection failed
Establishing a QUIC connection failed.
Node.jsNode.js - quic endpoint closed
A QUIC Endpoint closed with an error.
Node.jsNode.js - quic open stream failed
Opening a QUIC stream failed.
Node.jsNode.js - quic stream aborted
The Node.js error code for a QuicError thrown to abort a QUIC stream or session with an explicit application or transport error code.
Node.jsNode.js - quic stream reset
A QUIC stream was reset by the peer. The error includes the reset code provided by the peer.
Node.jsNode.js - quic transport error
A QUIC transport error occurred.
Node.jsNode.js - quic version negotiation error
A QUIC session failed because version negotiation is required.
Node.jsNode.js - require async module
When trying to require() an ES Module, the module turns out to be asynchronous. That is, it contains top-level await. When uncaught, the flag --experimental-print-required-tla prints the locations of the top-level awaits in the graph to stderr. This error has the following additional non-enumerable properties:
Node.jsNode.js - require cycle module
When trying to require() an ES Module, a CommonJS to ESM or ESM to CommonJS edge participates in an immediate cycle. This is not allowed because ES Modules cannot be evaluated while they are already being evaluated. To avoid the cycle, the require() call involved in a cycle should not happen at the top-level of either an ES Module (via createRequire()) or a CommonJS module, and should be done lazily in an inner function.
Node.jsNode.js - require esm
An attempt was made to require() an ES Module. This error has been deprecated since require() now supports loading synchronous ES modules. When require() encounters an ES module that contains top-level await, it will throw ERR_REQUIRE_ASYNC_MODULE instead.
Node.jsNode.js - require esm race condition
An attempt was made to require() an ES Module while another import() call was already in progress to load it asynchronously.
Node.jsNode.js - rx memory not supported
A feature requiring runtime allocation of executable memory was used in an environment where that capability is unavailable. This includes creating an otherwise eligible FFI Fast API function, or allocating an FFI callback when libffi cannot provide a closure and executable memory is unavailable. Node.js does not guarantee a non-generated-code fallback for these operations. This error can be caught without terminating the process.
Node.jsNode.js - script execution interrupted
Script execution was interrupted by SIGINT (For example, Ctrl+C was pressed.)
Node.jsNode.js - script execution timeout
Script execution timed out, possibly due to bugs in the script being executed.
Node.jsNode.js - server already listen
The server.listen() method was called while a net.Server was already listening. This applies to all instances of net.Server, including HTTP, HTTPS, and HTTP/2 Server instances.
Node.jsNode.js - server not running
The server.close() method was called when a net.Server was not running. This applies to all instances of net.Server, including HTTP, HTTPS, and HTTP/2 Server instances.
Node.jsNode.js - single executable application asset not found
A key was passed to single executable application APIs to identify an asset, but no match could be found.
Node.jsNode.js - socket already bound
An attempt was made to bind a socket that has already been bound.
Node.jsNode.js