Errors
Node.js errors
ERR_* codes, module resolution and runtime errors.
462 entries1 written pages
Showing 51 to 100 of 462Source: Node.js documentation
| Code | Error | Category | Page |
|---|---|---|---|
| ERR_CRYPTO_HASH_DIGEST_NO_UTF16 | The UTF-16 encoding was used with hash.digest(). While the hash.digest() method does allow an encoding argument to be passed in, causing the method to return a string rather than a Buffer, the UTF-16 encoding (e.g. ucs or utf16le) is not supported. | Legacy Node.js error codes | Reference |
| ERR_CRYPTO_HASH_FINALIZED | hash.digest() was called multiple times. The hash.digest() method must be called no more than one time per instance of a Hash object. | Node.js error codes | Reference |
| ERR_CRYPTO_HASH_UPDATE_FAILED | hash.update() failed for an unspecified reason. | Node.js error codes | Reference |
| ERR_CRYPTO_INCOMPATIBLE_KEY | The given crypto keys are incompatible with the attempted operation. | Node.js error codes | Reference |
| ERR_CRYPTO_INCOMPATIBLE_KEY_OPTIONS | The selected public or private key encoding is incompatible with other options. | Node.js error codes | Reference |
| ERR_CRYPTO_INITIALIZATION_FAILED | Initialization of the crypto subsystem failed. | Node.js error codes | Reference |
| ERR_CRYPTO_INVALID_AUTH_TAG | An invalid authentication tag was provided. | Node.js error codes | Reference |
| ERR_CRYPTO_INVALID_COUNTER | An invalid counter was provided for a counter-mode cipher. | Node.js error codes | Reference |
| ERR_CRYPTO_INVALID_CURVE | An invalid elliptic-curve was provided. | Node.js error codes | Reference |
| ERR_CRYPTO_INVALID_DIGEST | An invalid crypto digest algorithm was specified. | Node.js error codes | Reference |
| ERR_CRYPTO_INVALID_IV | An invalid initialization vector was provided. | Node.js error codes | Reference |
| ERR_CRYPTO_INVALID_JWK | An invalid JSON Web Key was provided. | Node.js error codes | Reference |
| ERR_CRYPTO_INVALID_KEYLEN | An invalid key length was provided. | Node.js error codes | Reference |
| ERR_CRYPTO_INVALID_KEYPAIR | An invalid key pair was provided. | Node.js error codes | Reference |
| ERR_CRYPTO_INVALID_KEYTYPE | An invalid key type was provided. | Node.js error codes | Reference |
| ERR_CRYPTO_INVALID_KEY_OBJECT_TYPE | The given crypto key object's type is invalid for the attempted operation. | Node.js error codes | Reference |
| ERR_CRYPTO_INVALID_MAC | An invalid MAC algorithm was specified. | Node.js error codes | Reference |
| ERR_CRYPTO_INVALID_MESSAGELEN | An invalid message length was provided. | Node.js error codes | Reference |
| ERR_CRYPTO_INVALID_SCRYPT_PARAMS | One or more crypto.scrypt() or crypto.scryptSync() parameters are outside their legal range. | Node.js error codes | Reference |
| ERR_CRYPTO_INVALID_STATE | A crypto method was used on an object that was in an invalid state. For instance, calling cipher.getAuthTag() before calling cipher.final(). | Node.js error codes | Reference |
| ERR_CRYPTO_INVALID_TAG_LENGTH | An invalid authentication tag length was provided. | Node.js error codes | Reference |
| ERR_CRYPTO_JOB_INIT_FAILED | Initialization of an asynchronous crypto operation failed. | Node.js error codes | Reference |
| ERR_CRYPTO_JWK_UNSUPPORTED_CURVE | Key's Elliptic Curve is not registered for use in the JSON Web Key Elliptic Curve Registry. | Node.js error codes | Reference |
| ERR_CRYPTO_JWK_UNSUPPORTED_KEY_TYPE | Key's Asymmetric Key Type is not registered for use in the JSON Web Key Types Registry. | Node.js error codes | Reference |
| ERR_CRYPTO_KEM_NOT_SUPPORTED | Attempted to use KEM operations while Node.js was not compiled with OpenSSL with KEM support. | Node.js error codes | Reference |
| ERR_CRYPTO_MAC_FINALIZED | An operation was attempted on a Mac object after finalization was attempted or an underlying MAC update failed. | Node.js error codes | Reference |
| ERR_CRYPTO_MAC_NOT_SUPPORTED | Node.js was built without support for the OpenSSL EVP_MAC API. | Node.js error codes | Reference |
| ERR_CRYPTO_MAC_UPDATE_FAILED | mac.update() failed for an unspecified reason. | Node.js error codes | Reference |
| ERR_CRYPTO_OPERATION_FAILED | A crypto operation failed for an otherwise unspecified reason. | Node.js error codes | Reference |
| ERR_CRYPTO_PBKDF2_ERROR | The PBKDF2 algorithm failed for unspecified reasons. OpenSSL does not provide more details and therefore neither does Node.js. | Node.js error codes | Reference |
| ERR_CRYPTO_SCRYPT_INVALID_PARAMETER | An incompatible combination of options was passed to crypto.scrypt() or crypto.scryptSync(). New versions of Node.js use the error code ERR_INCOMPATIBLE_OPTION_PAIR instead, which is consistent with other APIs. | Legacy Node.js error codes | Reference |
| ERR_CRYPTO_SCRYPT_NOT_SUPPORTED | Node.js was compiled without scrypt support. Not possible with the official release binaries but can happen with custom builds, including distro builds. | Node.js error codes | Reference |
| ERR_CRYPTO_SIGN_KEY_REQUIRED | A signing key was not provided to the sign.sign() method. | Node.js error codes | Reference |
| ERR_CRYPTO_TIMING_SAFE_EQUAL_LENGTH | crypto.timingSafeEqual() was called with Buffer, TypedArray, or DataView arguments of different lengths. | Node.js error codes | Reference |
| ERR_CRYPTO_UNKNOWN_CIPHER | An unknown cipher was specified. | Node.js error codes | Reference |
| ERR_CRYPTO_UNKNOWN_DH_GROUP | An unknown Diffie-Hellman group name was given. See crypto.getDiffieHellman() for a list of valid group names. | Node.js error codes | Reference |
| ERR_CRYPTO_UNSUPPORTED_OPERATION | An attempt to invoke an unsupported crypto operation was made. | Node.js error codes | Reference |
| ERR_DEBUGGER_ERROR | An error occurred with the debugger. | Node.js error codes | Reference |
| ERR_DEBUGGER_STARTUP_ERROR | The debugger timed out waiting for the required host/port to be free. | Node.js error codes | Reference |
| ERR_DIR_CLOSED | The fs.Dir was previously closed. | Node.js error codes | Reference |
| ERR_DIR_CONCURRENT_OPERATION | A synchronous read or close call was attempted on an fs.Dir which has ongoing asynchronous operations. | Node.js error codes | Reference |
| ERR_DLOPEN_DISABLED | Loading native addons has been disabled using --no-addons. | Node.js error codes | Reference |
| ERR_DLOPEN_FAILED | A call to process.dlopen() failed. | Node.js error codes | Reference |
| ERR_DNS_SET_SERVERS_FAILED | c-ares failed to set the DNS server. | Node.js error codes | Reference |
| ERR_DOMAIN_CALLBACK_NOT_AVAILABLE | The node:domain module was not usable since it could not establish the required error handling hooks, because process.setUncaughtExceptionCaptureCallback() had been called at an earlier point in time. | Node.js error codes | Reference |
| ERR_DOMAIN_CANNOT_SET_UNCAUGHT_EXCEPTION_CAPTURE | process.setUncaughtExceptionCaptureCallback() could not be called because the node:domain module has been loaded at an earlier point in time. The stack trace is extended to include the point in time at which the node:domain module had been loaded. | Node.js error codes | Reference |
| ERR_DUPLICATE_STARTUP_SNAPSHOT_MAIN_FUNCTION | v8.startupSnapshot.setDeserializeMainFunction() could not be called because it had already been called before. | Node.js error codes | Reference |
| ERR_ENCODING_INVALID_ENCODED_DATA | Data provided to TextDecoder() API was invalid according to the encoding provided. | Node.js error codes | Reference |
| ERR_ENCODING_NOT_SUPPORTED | Encoding provided to TextDecoder() API was not one of the WHATWG Supported Encodings. | Node.js error codes | Reference |
| ERR_EVAL_ESM_CANNOT_PRINT | --print cannot be used with ESM input. | Node.js error codes | Reference |
Other families: JavaScript, npm, React, Next.js, TypeScript, Vite, webpack, Jest