Skip to content
JS
Errors

Node.js errors

ERR_* codes, module resolution and runtime errors.

462 entries1 written pages
Showing 101 to 150 of 462Source: Node.js documentation
CodeError
ERR_EVENT_RECURSIONThrown when an attempt is made to recursively dispatch an event on EventTarget.
ERR_EXECUTION_ENVIRONMENT_NOT_AVAILABLEThe JS execution context is not associated with a Node.js environment. This may occur when Node.js is used as an embedded library and some hooks for the JS engine are not set up properly.
ERR_FALSY_VALUE_REJECTIONA Promise that was callbackified via util.callbackify() was rejected with a falsy value.
ERR_FEATURE_UNAVAILABLE_ON_PLATFORMUsed when a feature that is not available to the current platform which is running Node.js is used.
ERR_FFI_CALL_FAILEDA low-level FFI call failed.
ERR_FFI_INVALID_POINTERAn invalid pointer was passed to an FFI operation.
ERR_FFI_LIBRARY_CLOSEDAn operation was attempted on an FFI dynamic library after it was closed.
ERR_FS_CP_DIR_TO_NON_DIRAn attempt was made to copy a directory to a non-directory (file, symlink, etc.) using fs.cp().
ERR_FS_CP_EEXISTAn attempt was made to copy over a file that already existed with fs.cp(), with the force and errorOnExist set to true.
ERR_FS_CP_EINVALWhen using fs.cp(), src or dest pointed to an invalid path.
ERR_FS_CP_FIFO_PIPEAn attempt was made to copy a named pipe with fs.cp().
ERR_FS_CP_NON_DIR_TO_DIRAn attempt was made to copy a non-directory (file, symlink, etc.) to a directory using fs.cp().
ERR_FS_CP_SOCKETAn attempt was made to copy to a socket with fs.cp().
ERR_FS_CP_SYMLINK_TO_SUBDIRECTORYWhen using fs.cp(), a symlink in dest pointed to a subdirectory of src.
ERR_FS_CP_UNKNOWNAn attempt was made to copy to an unknown file type with fs.cp().
ERR_FS_EISDIRPath is a directory.
ERR_FS_FILE_TOO_LARGEAn attempt was made to read a file larger than the supported 2 GiB limit for fs.readFile(). This is not a limitation of Buffer, but an internal I/O constraint.
ERR_FS_INVALID_SYMLINK_TYPEAn invalid symlink type was passed to the fs.symlink() or fs.symlinkSync() methods.
ERR_FS_WATCH_QUEUE_OVERFLOWThe number of file system events queued without being handled exceeded the size specified in maxQueue in fs.watch().
ERR_HTTP2_ALTSVC_INVALID_ORIGINHTTP/2 ALTSVC frames require a valid origin.
ERR_HTTP2_ALTSVC_LENGTHHTTP/2 ALTSVC frames are limited to a maximum of 16,382 payload bytes.
ERR_HTTP2_CONNECT_AUTHORITYFor HTTP/2 requests using the CONNECT method, the :authority pseudo-header is required.
ERR_HTTP2_CONNECT_PATHFor HTTP/2 requests using the CONNECT method, the :path pseudo-header is forbidden.
ERR_HTTP2_CONNECT_SCHEMEFor HTTP/2 requests using the CONNECT method, the :scheme pseudo-header is forbidden.
ERR_HTTP2_ERRORA non-specific HTTP/2 error has occurred.
ERR_HTTP2_FRAME_ERRORUsed when a failure occurs sending an individual frame on the HTTP/2 session.
ERR_HTTP2_GOAWAY_SESSIONNew HTTP/2 Streams may not be opened after the Http2Session has received a GOAWAY frame from the connected peer.
ERR_HTTP2_HEADERS_AFTER_RESPONDAdditional headers were specified after an HTTP/2 response was initiated.
ERR_HTTP2_HEADERS_OBJECTUsed when an HTTP/2 Headers Object is expected.
ERR_HTTP2_HEADERS_SENTAn attempt was made to send multiple response headers.
ERR_HTTP2_HEADER_REQUIREDUsed when a required header is missing in an HTTP/2 message.
ERR_HTTP2_HEADER_SINGLE_VALUEMultiple values were provided for an HTTP/2 header field that was required to have only a single value.
ERR_HTTP2_INFO_HEADERS_AFTER_RESPONDHTTP/2 informational headers must only be sent prior to calling the Http2Stream.prototype.respond() method.
ERR_HTTP2_INFO_STATUS_NOT_ALLOWEDInformational HTTP status codes (1xx) may not be set as the response status code on HTTP/2 responses.
ERR_HTTP2_INVALID_CONNECTION_HEADERSHTTP/1 connection specific headers are forbidden to be used in HTTP/2 requests and responses.
ERR_HTTP2_INVALID_HEADER_VALUEAn invalid HTTP/2 header value was specified.
ERR_HTTP2_INVALID_INFO_STATUSAn invalid HTTP informational status code has been specified. Informational status codes must be an integer between 100 and 199 (inclusive).
ERR_HTTP2_INVALID_ORIGINHTTP/2 ORIGIN frames require a valid origin.
ERR_HTTP2_INVALID_PACKED_SETTINGS_LENGTHInput Buffer and Uint8Array instances passed to the http2.getUnpackedSettings() API must have a length that is a multiple of six.
ERR_HTTP2_INVALID_PSEUDOHEADEROnly valid HTTP/2 pseudoheaders (:status, :path, :authority, :scheme, and :method) may be used.
ERR_HTTP2_INVALID_SESSIONAn action was performed on an Http2Session object that had already been destroyed.
ERR_HTTP2_INVALID_SETTING_VALUEAn invalid value has been specified for an HTTP/2 setting.
ERR_HTTP2_INVALID_STREAMAn operation was performed on a stream that had already been destroyed.
ERR_HTTP2_MAX_PENDING_SETTINGS_ACKWhenever an HTTP/2 SETTINGS frame is sent to a connected peer, the peer is required to send an acknowledgment that it has received and applied the new SETTINGS. By default, a maximum number of unacknowledged SETTINGS frames may be sent at any given time.
ERR_HTTP2_NESTED_PUSHAn attempt was made to initiate a new push stream from within a push stream. Nested push streams are not permitted.
ERR_HTTP2_NO_MEMOut of memory when using the http2session.setLocalWindowSize(windowSize) API.
ERR_HTTP2_NO_SOCKET_MANIPULATIONAn attempt was made to directly manipulate (read, write, pause, resume, etc.) a socket attached to an Http2Session.
ERR_HTTP2_ORIGIN_LENGTHHTTP/2 ORIGIN frames are limited to a length of 16382 bytes.
ERR_HTTP2_OUT_OF_STREAMSThe number of streams created on a single HTTP/2 session reached the maximum limit.
ERR_HTTP2_PAYLOAD_FORBIDDENA message payload was specified for an HTTP response code for which a payload is forbidden.

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