Errors
Node.js errors
ERR_* codes, module resolution and runtime errors.
462 entries1 written pages
Showing 201 to 250 of 462Source: Node.js documentation
| Code | Error | Category | Page |
|---|---|---|---|
| ERR_INTERNAL_ASSERTION | There was a bug in Node.js or incorrect usage of Node.js internals. To fix the error, open an issue at https://github.com/nodejs/node/issues. | Node.js error codes | Reference |
| ERR_INVALID_ADDRESS | The provided address is not understood by the Node.js API. | Node.js error codes | Reference |
| ERR_INVALID_ADDRESS_FAMILY | The provided address family is not understood by the Node.js API. | Node.js error codes | Reference |
| ERR_INVALID_ARG_TYPE | An argument of the wrong type was passed to a Node.js API. | Node.js error codes | Reference |
| ERR_INVALID_ARG_VALUE | An invalid or unsupported value was passed for a given argument. | Node.js error codes | Reference |
| ERR_INVALID_ASYNC_ID | An invalid asyncId or triggerAsyncId was passed using AsyncHooks. An id less than -1 should never happen. | Node.js error codes | Reference |
| ERR_INVALID_BUFFER_SIZE | A swap was performed on a Buffer but its size was not compatible with the operation. | Node.js error codes | Reference |
| ERR_INVALID_CHAR | Invalid characters were detected in headers. | Node.js error codes | Reference |
| ERR_INVALID_CURSOR_POS | A cursor on a given stream cannot be moved to a specified row without a specified column. | Node.js error codes | Reference |
| ERR_INVALID_FD | A file descriptor ('fd') was not valid (e.g. it was a negative value). | Node.js error codes | Reference |
| ERR_INVALID_FD_TYPE | A file descriptor ('fd') type was not valid. | Node.js error codes | Reference |
| ERR_INVALID_FILE_URL_HOST | A Node.js API that consumes file: URLs (such as certain functions in the fs module) encountered a file URL with an incompatible host. This situation can only occur on Unix-like systems where only localhost or an empty host is supported. | Node.js error codes | Reference |
| ERR_INVALID_FILE_URL_PATH | A Node.js API that consumes file: URLs (such as certain functions in the fs module) encountered a file URL with an incompatible path. The exact semantics for determining whether a path can be used is platform-dependent. | Node.js error codes | Reference |
| ERR_INVALID_HANDLE_TYPE | An attempt was made to send an unsupported "handle" over an IPC communication channel to a child process. See subprocess.send() and process.send() for more information. | Node.js error codes | Reference |
| ERR_INVALID_HTTP_TOKEN | An invalid HTTP token was supplied. | Node.js error codes | Reference |
| ERR_INVALID_IP_ADDRESS | An IP address is not valid. | Node.js error codes | Reference |
| ERR_INVALID_MIME_SYNTAX | The syntax of a MIME is not valid. | Node.js error codes | Reference |
| ERR_INVALID_MODULE | An attempt was made to load a module that does not exist or was otherwise not valid. | Node.js error codes | Reference |
| ERR_INVALID_MODULE_SPECIFIER | The imported module string is an invalid URL, package name, or package subpath specifier. | Node.js error codes | Reference |
| ERR_INVALID_OBJECT_DEFINE_PROPERTY | An error occurred while setting an invalid attribute on the property of an object. | Node.js error codes | Reference |
| ERR_INVALID_OPT_VALUE | An invalid or unexpected value was passed in an options object. | Legacy Node.js error codes | Reference |
| ERR_INVALID_OPT_VALUE_ENCODING | An invalid or unknown file encoding was passed. | Legacy Node.js error codes | Reference |
| ERR_INVALID_PACKAGE_CONFIG | An invalid package.json file failed parsing. | Node.js error codes | Reference |
| ERR_INVALID_PACKAGE_TARGET | The package.json "exports" field contains an invalid target mapping value for the attempted module resolution. | Node.js error codes | Reference |
| ERR_INVALID_PERFORMANCE_MARK | While using the Performance Timing API (perf_hooks), a performance mark is invalid. | Legacy Node.js error codes | Reference |
| ERR_INVALID_PROTOCOL | An invalid options.protocol was passed to http.request(). | Node.js error codes | Reference |
| ERR_INVALID_REPL_EVAL_CONFIG | Both breakEvalOnSigint and eval options were set in the REPL config, which is not supported. | Node.js error codes | Reference |
| ERR_INVALID_REPL_INPUT | The input may not be used in the REPL. The conditions under which this error is used are described in the REPL documentation. | Node.js error codes | Reference |
| ERR_INVALID_RETURN_PROPERTY | Thrown in case a function option does not provide a valid value for one of its returned object properties on execution. | Node.js error codes | Reference |
| ERR_INVALID_RETURN_PROPERTY_VALUE | Thrown in case a function option does not provide an expected value type for one of its returned object properties on execution. | Node.js error codes | Reference |
| ERR_INVALID_RETURN_VALUE | Thrown in case a function option does not return an expected value type on execution, such as when a function is expected to return a promise. | Node.js error codes | Reference |
| ERR_INVALID_STATE | Indicates that an operation cannot be completed due to an invalid state. For instance, an object may have already been destroyed, or may be performing another operation. | Node.js error codes | Reference |
| ERR_INVALID_SYNC_FORK_INPUT | A Buffer, TypedArray, DataView, or string was provided as stdio input to an asynchronous fork. See the documentation for the child_process module for more information. | Node.js error codes | Reference |
| ERR_INVALID_THIS | A Node.js API function was called with an incompatible this value. const urlSearchParams = new URLSearchParams('foo=bar&baz=new'); const buf = Buffer.alloc(1); urlSearchParams.has.call(buf, 'foo'); // Throws a TypeError with code 'ERR_INVALID_THIS' | Node.js error codes | Reference |
| ERR_INVALID_TRANSFER_OBJECT | An invalid transfer object was passed to postMessage(). | Legacy Node.js error codes | Reference |
| ERR_INVALID_TUPLE | An element in the iterable provided to the WHATWG URLSearchParams constructor did not represent a [name, value] tuple – that is, if an element is not iterable, or does not consist of exactly two elements. | Node.js error codes | Reference |
| ERR_INVALID_TYPESCRIPT_SYNTAX | The provided TypeScript syntax is not valid. | Node.js error codes | Reference |
| ERR_INVALID_URI | An invalid URI was passed. | Node.js error codes | Reference |
| ERR_INVALID_URL | An invalid URL was passed to the WHATWG URL constructor or the legacy url.parse() to be parsed. The thrown error object typically has an additional property 'input' that contains the URL that failed to parse. | Node.js error codes | Reference |
| ERR_INVALID_URL_PATTERN | An invalid URLPattern was passed to the WHATWG URLPattern constructor to be parsed. | Node.js error codes | Reference |
| ERR_INVALID_URL_SCHEME | An attempt was made to use a URL of an incompatible scheme (protocol) for a specific purpose. It is only used in the WHATWG URL API support in the fs module (which only accepts URLs with 'file' scheme), but may be used in other Node.js APIs as well in the future. | Node.js error codes | Reference |
| ERR_IPC_CHANNEL_CLOSED | An attempt was made to use an IPC communication channel that was already closed. | Node.js error codes | Reference |
| ERR_IPC_DISCONNECTED | An attempt was made to disconnect an IPC communication channel that was already disconnected. See the documentation for the child_process module for more information. | Node.js error codes | Reference |
| ERR_IPC_ONE_PIPE | An attempt was made to create a child Node.js process using more than one IPC communication channel. See the documentation for the child_process module for more information. | Node.js error codes | Reference |
| ERR_IPC_SYNC_FORK | An attempt was made to open an IPC communication channel with a synchronously forked Node.js process. See the documentation for the child_process module for more information. | Node.js error codes | Reference |
| ERR_IP_BLOCKED | IP is blocked by net.BlockList. | Node.js error codes | Reference |
| ERR_LOADER_CHAIN_INCOMPLETE | An ESM loader hook returned without calling next() and without explicitly signaling a short circuit. | Node.js error codes | Reference |
| ERR_LOAD_SQLITE_EXTENSION | An error occurred while loading a SQLite extension. | Node.js error codes | Reference |
| ERR_MANIFEST_ASSERT_INTEGRITY | An attempt was made to load a resource, but the resource did not match the integrity defined by the policy manifest. See the documentation for policy manifests for more information. | Legacy Node.js error codes | Reference |
| ERR_MANIFEST_DEPENDENCY_MISSING | An attempt was made to load a resource, but the resource was not listed as a dependency from the location that attempted to load it. See the documentation for policy manifests for more information. | Legacy Node.js error codes | Reference |
Other families: JavaScript, npm, React, Next.js, TypeScript, Vite, webpack, Jest