Skip to content
JS
Errors

Node.js errors

ERR_* codes, module resolution and runtime errors.

462 entries1 written pages
Showing 301 to 350 of 462Source: Node.js documentation
CodeError
ERR_PERFORMANCE_MEASURE_INVALID_OPTIONSInvalid options were provided for a performance measure.
ERR_PROTO_ACCESSAccessing 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.
ERR_PROXY_INVALID_CONFIGFailed to proxy a request because the proxy configuration is invalid.
ERR_PROXY_TUNNELFailed to establish proxy tunnel when NODE_USE_ENV_PROXY or --use-env-proxy is enabled.
ERR_QUIC_APPLICATION_ERRORA QUIC application error occurred.
ERR_QUIC_CONNECTION_FAILEDEstablishing a QUIC connection failed.
ERR_QUIC_ENDPOINT_CLOSEDA QUIC Endpoint closed with an error.
ERR_QUIC_OPEN_STREAM_FAILEDOpening a QUIC stream failed.
ERR_QUIC_STREAM_ABORTEDThe Node.js error code for a QuicError thrown to abort a QUIC stream or session with an explicit application or transport error code.
ERR_QUIC_STREAM_RESETA QUIC stream was reset by the peer. The error includes the reset code provided by the peer.
ERR_QUIC_TRANSPORT_ERRORA QUIC transport error occurred.
ERR_QUIC_VERSION_NEGOTIATION_ERRORA QUIC session failed because version negotiation is required.
ERR_REQUIRE_ASYNC_MODULEWhen trying to require() an ES Module, the module turns out to be asynchronous. That is, it contains top-level await.
ERR_REQUIRE_CYCLE_MODULEWhen 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.
ERR_REQUIRE_ESM_RACE_CONDITIONAn attempt was made to require() an ES Module while another import() call was already in progress to load it asynchronously.
ERR_SCRIPT_EXECUTION_INTERRUPTEDScript execution was interrupted by SIGINT (For example, Ctrl+C was pressed.)
ERR_SCRIPT_EXECUTION_TIMEOUTScript execution timed out, possibly due to bugs in the script being executed.
ERR_SERVER_ALREADY_LISTENThe 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.
ERR_SERVER_NOT_RUNNINGThe 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.
ERR_SINGLE_EXECUTABLE_APPLICATION_ASSET_NOT_FOUNDA key was passed to single executable application APIs to identify an asset, but no match could be found.
ERR_SOCKET_ALREADY_BOUNDAn attempt was made to bind a socket that has already been bound.
ERR_SOCKET_BAD_BUFFER_SIZEAn invalid (negative) size was passed for either the recvBufferSize or sendBufferSize options in dgram.createSocket().
ERR_SOCKET_BAD_PORTAn API function expecting a port >= 0 and < 65536 received an invalid value.
ERR_SOCKET_BAD_TYPEAn API function expecting a socket type (udp4 or udp6) received an invalid value.
ERR_SOCKET_BUFFER_SIZEWhile using dgram.createSocket(), the size of the receive or send Buffer could not be determined.
ERR_SOCKET_CANNOT_SENDData could not be sent on a socket.
ERR_SOCKET_CLOSEDAn attempt was made to operate on an already closed socket.
ERR_SOCKET_CLOSED_BEFORE_CONNECTIONWhen calling net.Socket.write() on a connecting socket and the socket was closed before the connection was established.
ERR_SOCKET_CONNECTION_TIMEOUTThe socket was unable to connect to any address returned by the DNS within the allowed timeout when using the family autoselection algorithm.
ERR_SOCKET_DGRAM_IS_CONNECTEDA dgram.connect() call was made on an already connected socket.
ERR_SOCKET_DGRAM_NOT_CONNECTEDA dgram.disconnect() or dgram.remoteAddress() call was made on a disconnected socket.
ERR_SOCKET_DGRAM_NOT_RUNNINGA call was made and the UDP subsystem was not running.
ERR_SOCKET_HANDLE_ADOPTEDAn operation was attempted on a BoundSocket that had already been adopted by a net.Server or net.Socket, or transferred to another thread. Once a bound socket is adopted or transferred, its address() and close() methods can no longer be used.
ERR_SOURCE_MAP_CORRUPTThe source map could not be parsed because it does not exist, or is corrupt.
ERR_SOURCE_MAP_MISSING_SOURCEA file imported from a source map was not found.
ERR_SOURCE_PHASE_NOT_DEFINEDThe provided module import does not provide a source phase imports representation for source phase import syntax import source x from 'x' or import.source(x).
ERR_SQLITE_ERRORAn error was returned from SQLite.
ERR_SRI_PARSEA string was provided for a Subresource Integrity check, but was unable to be parsed. Check the format of integrity attributes by looking at the Subresource Integrity specification.
ERR_STDERR_CLOSEAn attempt was made to close the process.stderr stream. By design, Node.js does not allow stdout or stderr streams to be closed by user code.
ERR_STDOUT_CLOSEAn attempt was made to close the process.stdout stream. By design, Node.js does not allow stdout or stderr streams to be closed by user code.
ERR_STREAM_ALREADY_FINISHEDA stream method was called that cannot complete because the stream was finished.
ERR_STREAM_CANNOT_PIPEAn attempt was made to call stream.pipe() on a Writable stream.
ERR_STREAM_DESTROYEDA stream method was called that cannot complete because the stream was destroyed using stream.destroy().
ERR_STREAM_ITER_MISSING_FLAGA stream/iter API was used without the --experimental-stream-iter CLI flag enabled.
ERR_STREAM_NULL_VALUESAn attempt was made to call stream.write() with a null chunk.
ERR_STREAM_PREMATURE_CLOSEAn error returned by stream.finished() and stream.pipeline(), when a stream or a pipeline ends non gracefully with no explicit error.
ERR_STREAM_PUSH_AFTER_EOFAn attempt was made to call stream.push() after a null(EOF) had been pushed to the stream.
ERR_STREAM_READ_NOT_IMPLEMENTEDUsed when an attempt is made to use a readable stream that has not implemented readable._read().
ERR_STREAM_UNABLE_TO_PIPEAn attempt was made to pipe to a closed or destroyed stream in a pipeline.
ERR_STREAM_UNSHIFT_AFTER_END_EVENTAn attempt was made to call stream.unshift() after the 'end' event was emitted.

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