Skip to content
JS
Errors

Node.js errors

ERR_* codes, module resolution and runtime errors.

462 entries1 written pages
Showing 401 to 450 of 462Source: Node.js documentation
CodeError
ERR_UNSUPPORTED_RESOLVE_REQUESTAn attempt was made to resolve an invalid module referrer.
ERR_UNSUPPORTED_TYPESCRIPT_SYNTAXThe provided TypeScript syntax is unsupported. This could happen when using TypeScript syntax that requires transformation with type-stripping.
ERR_USE_AFTER_CLOSEAn attempt was made to use something that was already closed.
ERR_V8BREAKITERATORThe V8 BreakIterator API was used but the full ICU data set is not installed.
ERR_VALID_PERFORMANCE_ENTRY_TYPEWhile using the Performance Timing API (perf_hooks), no valid performance entry types are found.
ERR_VALUE_OUT_OF_RANGEUsed when a given value is out of the accepted range.
ERR_VFS_INVALID_TARGETA --vfs-mount source does not exist, is neither a regular file nor a directory, or is a source no provider claims.
ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSINGA dynamic import callback was not specified.
ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING_FLAGA dynamic import callback was invoked without --experimental-vm-modules.
ERR_VM_MODULE_ALREADY_LINKEDThe module attempted to be linked is not eligible for linking, because of one of the following reasons: It has already been linked (linkingStatus is 'linked') It is being linked (linkingStatus is 'linking') Linking has failed for this module (linkingStatus is 'errored')
ERR_VM_MODULE_CACHED_DATA_REJECTEDThe cachedData option passed to a module constructor is invalid.
ERR_VM_MODULE_CANNOT_CREATE_CACHED_DATACached data cannot be created for modules which have already been evaluated.
ERR_VM_MODULE_DIFFERENT_CONTEXTThe module being returned from the linker function is from a different context than the parent module. Linked modules must share the same context.
ERR_VM_MODULE_LINKING_ERROREDThe linker function returned a module for which linking has failed.
ERR_VM_MODULE_LINK_FAILUREThe module was unable to be linked due to a failure.
ERR_VM_MODULE_NOT_LINKEDThe module must be successfully linked before instantiation.
ERR_VM_MODULE_NOT_MODULEThe fulfilled value of a linking promise is not a vm.Module object.
ERR_VM_MODULE_STATUSThe current module's status does not allow for this operation. The specific meaning of the error depends on the specific function.
ERR_WASI_ALREADY_STARTEDThe WASI instance has already started.
ERR_WASI_NOT_STARTEDThe WASI instance has not been started.
ERR_WEBASSEMBLY_NOT_SUPPORTEDA feature requiring WebAssembly was used, but WebAssembly is not supported or has been disabled in the current environment (for example, when running with --jitless).
ERR_WEBASSEMBLY_RESPONSEThe Response that has been passed to WebAssembly.compileStreaming or to WebAssembly.instantiateStreaming is not a valid WebAssembly response.
ERR_WORKER_HANDLE_NOT_TRANSFERABLEAn attempt was made to transfer a net.Socket, net.Server or net.BoundSocket to another thread via a worker_threads postMessage() call while it was not in a transferable state, for example because it had already started reading, had buffered data, or had already been adopted.
ERR_WORKER_INIT_FAILEDThe Worker initialization failed.
ERR_WORKER_INVALID_EXEC_ARGVThe execArgv option passed to the Worker constructor contains invalid flags.
ERR_WORKER_MESSAGING_ERROREDThe destination thread threw an error while processing a message sent via postMessageToThread().
ERR_WORKER_MESSAGING_FAILEDThe thread requested in postMessageToThread() is invalid or has no workerMessage listener.
ERR_WORKER_MESSAGING_SAME_THREADThe thread id requested in postMessageToThread() is the current thread id.
ERR_WORKER_MESSAGING_TIMEOUTSending a message via postMessageToThread() timed out.
ERR_WORKER_NOT_RUNNINGAn operation failed because the Worker instance is not currently running.
ERR_WORKER_OUT_OF_MEMORYThe Worker instance terminated because it reached its memory limit.
ERR_WORKER_PATHThe path for the main script of a worker is neither an absolute path nor a relative path starting with ./ or ../.
ERR_WORKER_UNSERIALIZABLE_ERRORAll attempts at serializing an uncaught exception from a worker thread failed.
ERR_WORKER_UNSUPPORTED_EXTENSIONThe pathname used for the main script of a worker has an unknown file extension.
ERR_WORKER_UNSUPPORTED_OPERATIONThe requested functionality is not supported in worker threads.
ERR_ZIP_ARCHIVE_TOO_LARGEAn archive-level structure exceeds a limit: the archive comment exceeds the 65,535-byte encoded length that the ZIP format allows, or the archive's central directory is too large to buffer in memory.
ERR_ZIP_ENTRY_CORRUPTA ZIP archive entry failed CRC-32 verification, or produced more or fewer bytes than its declared uncompressed size, while being read.
ERR_ZIP_ENTRY_NOT_FOUNDA named entry was requested from a ZipFile or ZipBuffer that does not contain an entry with that name.
ERR_ZIP_ENTRY_TOO_LARGEA ZIP archive entry's declared size exceeds the configured limit, or a provided entry name or comment exceeds the 65,535-byte encoded length that the ZIP format allows.
ERR_ZIP_INVALID_ARCHIVEData that was expected to be a ZIP archive, or a structure within one, is missing, out of bounds, or otherwise inconsistent with the ZIP format.
ERR_ZIP_NOT_WRITABLEA mutating method (such as zipFile.addEntry() or zipFile.delete()) was called on a ZipFile that was not opened with { writable: true }.
ERR_ZIP_UNSUPPORTED_FEATUREA ZIP archive uses a feature outside of what this implementation supports, such as entry encryption, an unsupported compression method, or a multi-disk archive.
ERR_ZLIB_BINDING_CLOSEDUsed when an attempt is made to use a zlib object after it has already been closed.
ERR_ZLIB_INITIALIZATION_FAILEDCreation of a zlib object failed due to incorrect configuration.
ERR_ZSTD_INVALID_PARAMAn invalid parameter key was passed during construction of a Zstd stream.
HOSTNAME_MISMATCHCertificate does not match provided name.
HPE_CHUNK_EXTENSIONS_OVERFLOWToo much data was received for a chunk extensions. In order to protect against malicious or malconfigured clients, if more than 16 KiB of data is received then an Error with this code will be emitted.
HPE_HEADER_OVERFLOWToo much HTTP header data was received. In order to protect against malicious or malconfigured clients, if more than maxHeaderSize of HTTP header data is received then HTTP parsing will abort without a request or response object being created, and an Error with this code will be emitted.
HPE_UNEXPECTED_CONTENT_LENGTHServer is sending both a Content-Length header and Transfer-Encoding: chunked. Transfer-Encoding: chunked allows the server to maintain an HTTP persistent connection for dynamically generated content.
INVALID_CAA CA certificate is invalid. Either it is not a CA or its extensions are not consistent with the supplied purpose.

Other families: JavaScript, npm, React, Next.js, TypeScript, Vite, webpack, Jest