denoland/deno
Documented errors, page 2 of 10. Back to denoland/deno
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
ERR_ARG_NOT_ITERABLE must be iterable | error_code | error | web-streams, iterable, iterator-protocol, validation |
ERR_CONSTRUCT_CALL_REQUIRED Class constructor Assert cannot be invoked without `new` | error_code | error | node-compat, assert, constructor, ecmascript-class, deno |
ERR_INVALID_ARG_TYPE The "options" argument must be of type object. Received | error_code | error | child-process, node-compat, deno, argument-validation, internal-api |
| MessageEvent constructor: eventInitDict.ports | exception | error | messageevent, messageport, worker, validation |
| Out of range index | validation | error | buffer, range-error, index-out-of-bounds |
ERR_INVALID_THIS Value of "this" must be of type EventEmitterReferencingAsyncResource | exception | error | events, async-hooks, this-binding, node-compat |
| Return value from onError handler must be a response or a… | exception | error | http, deno-serve, on-error, handler-contract, validation |
| Unable to convert fix | exception | error | lsp, code-actions, quick-fix, tsc, diagnostics |
ERR_INVALID_URL Invalid URL | error_code | error | http, proxy, url, permissions, node-compat, deno |
| "autoAllocateChunkSize" must be greater than 0 | exception | error | readable-stream, byte-stream, constructor, autoallocatechunksize, validation |
ERR_HTTP2_TOO_MANY_CUSTOM_SETTINGS Number of custom settings exceeds MAX_ADDITIONAL_SETTINGS | validation | error | http2, settings, limits, node-compat |
EBADF file closed | exception | error | deno, node-compat, fs, filehandle, ebadf, use-after-close |
| Failed to create editor. | panic | error | tty, prompt, rustyline, terminal, interactive, panic |
ERR_STRING_TOO_LONG Cannot create a string longer than 0x | exception | error | buffer, encoding, string-decoder, memory, node-compat |
| path not found (symlink not dir) | exception | error | compile, vfs, symlink, path-resolution, not-found |
| dev server exited without printing a URL | exception | error | desktop, hmr, dev-server, process-exit, framework |
| Multiple selector arguments not supported here | exception | error | deno, deno-lint, lint-plugin, selector, nth-child, parse-error |
| Refusing to delete existing directory | validation | error | desktop, output-path, directory-collision, data-safety, cli |
| unknown override kind | exception | error | http, net, listen, address, node-compat, deno |
| Cannot enqueue value with size: chunk size is invalid | exception | error | streams, queuing-strategy, size, rangeerror |
EINVAL cannot copy a socket file | exception | error | deno, node-compat, fs, cp, unix-socket |
| failed to deserialize npm process state | exception | error | npm, process-state, json, deserialization, env-var, deno |
| is not supported for an embedded deno compile file | exception | error | compile, vfs, read-only, filesystem, locking, unsupported-operation |
| Unable to deserialize result parameter. | panic | error | ffi, unsafe-callback, type-mismatch, panic |
| validation error occurred | exception | error | webgpu, gpu-buffer, mapasync, validation, alignment, usage-flags |
| Expected token ' ', but got ' '.\n\n \n ^ | exception | error | deno, deno-lint, lint-plugin, selector, parse-error, syntax |
InvalidInput Can't convert url (" ") to filename. | error_code | error | cache, url, windows, filesystem |
| nul byte found in provided data | exception | error | windows, subprocess, environment-variables, nul-byte, invalid-input |
EPIPE This socket has been ended by the other party | exception | error | deno, node-compat, net, socket, epipe, write-after-end |
| failed to reading from | exception | error | npm, process-state, file-descriptor, env-var, internal, deno |
| Empty filepath. | exception | error | deno, node-compat, commonjs, require, internal-error |
| Failed to execute 'observe' on 'PerformanceObserver'… | exception | error | performance, performanceobserver, web-api, typeerror |
| Failed to unpack archive. | exception | error | archive, zip, download, upgrade, disk-space |
| must be >= && <= . Value was | validation | error | node-compat, argument-validation, range-check, integer, deno |
ERR_HTTP2_ALTSVC_INVALID_ORIGIN HTTP/2 ALTSVC frames require a valid origin | exception | error | http2, node-compat, altsvc, url-parsing |
| invalid module type | panic | error | eszip, corruption, parsing, redirect, v2, panic |
| Unknown attribute operator | exception | error | deno, deno-lint, lint-plugin, selector, attribute-operator, parse-error |
| Warning: option(s) are not supported for web Workers and… | console | warning | workers, node-compat, api-mismatch, worker-threads |
| Export not found in the package | exception | error | publish, jsr, tarball, verification, exports-map |
| Native addon cache directory | exception | error | native-addons, cache, permissions, unix, ownership, containers |
| Unknown media type value | exception | critical | standalone-binary, compile, media-type, deserialization, version-mismatch |
| could not resolve the native TypeScript compiler; download | exception | error | typescript, npm-registry, native-tsc, private-registry, offline |
| Inspector UUID already in map | panic | error | deno-runtime, inspector, debugging, uuid, fork, panic |
| brotli decompression failed | exception | error | decompression, brotli, decompressionstream, corrupt-data, web-streams |
| Cannot read headers: request closed | exception | error | fetch, request, headers, resource-lifecycle, serve |
| Failed to execute 'observe' on 'PerformanceObserver'… | exception | error | performance, performanceobserver, web-api, typeerror |
| No matching module graph roots found. | exception | error | sync-types, module-graph, roots, node-modules, cli |
| refusing to materialize package into symlinked directory | exception | error | npm, cache, symlink, filesystem, deno |
SyntaxError e.message | exception | error | webtransport, url-parsing, web-api, domexception, syntaxerror |
| redirects are already resolved | panic | error | eszip, deno-compile, redirect, v2, panic |
ERR_FS_CP_EEXIST Target already exists | exception | error | node-compat, fs, cp, copy, err-fs-cp-eexist, eexist, deno |
| Unable to fix import changes | exception | error | lsp, file-rename, imports, tsc, workspace-edit |
| `git ` failed | exception | error | git, test, changed, cli |
| The benchmark which this context belongs to is not being… | exception | error | install, logging, internal-invariant, shim |
| Empty node | exception | error | deno, deno-lint, lint-plugin, selector, parse-error, invariant |
ERR_HTTP2_TRAILERS_NOT_READY Trailing headers cannot be sent until after the wantTrailers event is emitted | exception | error | http2, trailers, api-misuse, node-compat |
| desktop mode enabled | panic | critical | desktop, browserwindow, runtime-mode, panic, desktop-runtime |
| , symlink ' ' -> | exception | error | npm, symlink, node-modules, windows, permissions, deno |
ERR_DNS_SET_SERVERS_FAILED c-ares failed to set servers | exception | error | dns, set-servers, c-ares, resolver, configuration |
| Invalid filter | validation | error | cli, outdated, filters, semver, argument-parsing |
| refusing tar entry that would unpack outside dest | exception | critical | desktop, laufey, tar, symlink, path-traversal, security |
| Usages cannot be empty when importing a private key. | exception | error | crypto, webcrypto, private-key, key-usage, node-compat |
| Invalid authentication tag length | exception | error | crypto, decipher, aead, auth-tag, gcm, node-compat |
| invalid IPv4 address | exception | error | udp, dgram, multicast, ipv4, node-compat, invalid-input |
| Native addon cache path | exception | error | native-addons, cache, temp-dir, permissions, security, symlink |
| Env var OTEL_TRACES_SAMPLER specifies an unsupported sampler | validation | error | otel, tracing, sampler, env-var, configuration, startup |
| Linter plugin must be an object | exception | critical | security, path-traversal, tarball, supply-chain, zip-slip |
| existing is not valid JSON/JSONC: . Fix or remove it and… | exception | error | tsconfig, jsonc, deno-sync-types, parse-error, merge-conflict |
ERR_AMBIGUOUS_ARGUMENT The "error/message" argument is ambiguous. The error message | exception | error | assert, assert-throws, ambiguous-argument, node-compat, deno |
| missing host in URI | exception | error | fetch, url, hyper, permissions, invalid-input |
| OTEL export timed out after | console | error | opentelemetry, otel, grpc, timeout, exporter, config |
| before() requires a function argument | validation | error | node-test, hooks, bdd, api-misuse |
| Failed to execute 'observe' on 'PerformanceObserver'… | exception | error | performance, performanceobserver, web-api, typeerror |
| Deno.autoUpdate: missing 'url' option, skipping | console | warning | desktop, auto-update, configuration, missing-option |
| Deno.serve: request.signal aborts on successful responses… | console | warning | http, serve, abortsignal, legacy-behavior, lifecycle |
ERR_CRYPTO_UNKNOWN_CIPHER Unknown cipher | exception | error | crypto, cipher, key-generation, node-compat |
ERR_INCOMPATIBLE_OPTION_PAIR Option "options.inspectOptions.color" cannot be used in combination with option… | error_code | error | console, options, colors, configuration |
| GetHandleInformation failed | panic | error | windows, stdio, win32, startup, gethandleinformation |
| invalid doc test hashbang | validation | error | doc-tests, shebang, permissions, deno-test |
| Unable to get organize imports edit from TypeScript | exception | error | lsp, organize-imports, tsc, code-actions |
ERR_ILLEGAL_CONSTRUCTOR Illegal constructor | exception | error | node-compat, timers, scheduler, constructor |
| Failed to execute deno | panic | error | node-shim, windows, spawn, path, deno-binary, install |
| Path has no root. | exception | error | windows, statfs, filesystem, defensive-check, deno |
| expected a function | exception | error | queue-microtask, callback, typeerror, deno-core |
| Input file is not under the current directory. Use --output… | validation | error | transpile, outdir, path, cli |
| path not found (not dir) | exception | error | vfs, path-resolution, standalone-binary, deno-compile, file-not-found |
| Invalid key type | exception | error | crypto, rsa, key-management, validation |
| Named curve mismatch | exception | error | crypto, webcrypto, ecdsa, ecc, key-management |
| Source and destination paths refer to the same file | exception | error | filesystem, copy, same-file, hardlink, symlink, invalid-input |
| The " " argument must be of type function. Received | exception | error | v8, promise-hooks, async, typeerror |
| This BYOB request has been invalidated | exception | error | readable-stream, byob-reader, respond, invalidated, stale-object |
| Failed to move extracted package into | exception | error | filesystem, concurrency, npm, rename |
| Invalid data type at index | panic | critical | deno-core, snapshot, type-mismatch, version-skew, panic |
| invalid socket address | exception | error | cron, socket-address, environment-variable, unsupported-scheme, invalid-input |
| The provided value " " is not a valid permission name. | exception | error | permissions, typeerror, descriptor, validation, prompt |
| Unhandled scenario where a duplicate entry was found | panic | error | deno-compile, node-modules, vfs, duplicate-entry, npm-cache, registry |
ERR_CRYPTO_INVALID_STATE Invalid state for operation final | error_code | error | crypto, cipher, lifecycle, state-machine, node-compat |
ERR_HTTP2_STATUS_INVALID Invalid status code | validation | error | http2, status-code, protocol-misuse, node-compat |
| failed to load | exception | error | eszip, module-graph, compile, loading, network |
| path not found (outside root) | exception | warning | compile, vfs, path-resolution, path-traversal, not-found |