ErrLookup › evanw/esbuild
evanw/esbuild
An extremely fast bundler for the web · Go · 161 source files
Analyzed at f6058f8364 on 2026-08-09. 121 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| You installed esbuild for another platform than the one… | exception | error | platform, docker, wsl, rosetta, install, native-binary |
| The esbuild JavaScript API cannot be bundled. Please mark… | exception | error | bundling, external, native-binary, webpack, build-config |
| Invariant violation: " instanceof Uint8Array" is… | exception | critical | environment, jest, runtime, invariant, utf8 |
| The "write" option is unavailable in this environment | exception | error | environment, filesystem, browser, wasm, build-options |
| Failed to install package | exception | error | install, wasm, optional-dependencies, platform |
| Invalid platform | panic | critical | esbuild, config, validation, panic, platform, enum |
| Invalid engine name | panic | critical | esbuild, config, validation, panic, engine, generated, enum |
| The "esbuild" package cannot be installed because | exception | error | macos, install, native-binary, go, security, gatekeeper |
| The service was stopped | exception | error | esbuild, go, plugin, on-end, service-lifecycle, dispose |
| Module not found in bundle | exception | error | glob, runtime, dynamic-import, bundle |
| The package " " could not be found, and is needed by… | exception | error | install, optional-dependencies, ignore-scripts, platform |
| Can't understand test file | validation | error | test-harness, terser, parser, ast, contributor |
| Invalid loader | panic | critical | esbuild, config, validation, panic, loader, enum |
| Missing hash for | exception | error | install, integrity, version-mismatch, native-binary |
| Invalid source map | panic | critical | esbuild, config, validation, panic, sourcemap, enum |
| Unsupported platform | exception | error | platform, install, architecture, native-binary |
| UPDATE NEEDED: expected failure for | exception | warning | test-harness, uglify, test-maintenance, known-failure, ci |
| Invalid legal comments | panic | critical | esbuild, config, validation, panic, legal-comments, enum |
| The "buildSync" API only works in node | exception | error | browser, sync, async, platform, wasm |
| Invalid log level | panic | critical | esbuild, config, validation, panic, log-level, logger, enum |
| You need to wait for the promise returned from "initialize"… | exception | error | browser, async, initialization, wasm, ordering |
| Expected onStart() callback in plugin | validation | error | plugins, onstart, validation, callback-contract |
| Invalid target | panic | critical | esbuild, config, validation, panic, target, enum |
| Cannot call "resolve" before plugin setup has completed | validation | error | plugins, api-misuse, resolve, lifecycle |
| Invalid tree shaking | panic | critical | esbuild, config, validation, panic, tree-shaking, enum |
| Invalid | validation | error | config, validation, array-options, cli-flags |
| Cannot start service: Host version | exception | critical | install, version-mismatch, binary, startup, critical |
| The "worker" option only works in the browser | validation | error | config, initialize, node, browser, environment |
| Invalid option | validation | error | config, validation, typo, options, version |
| Invalid gzip data in archive | exception | error | network, install, download, gzip, registry |
| Failed to find " " in input | exception | error | test-harness, source-map, verification, validation, input |
| Invalid format | panic | critical | esbuild, config, validation, panic, format, enum |
| Expected value for to be a string, got instead | validation | error | config, validation, type-mismatch, cli-flags |
| Invalid log style | panic | critical | esbuild, config, validation, panic, log-style, logger, enum |
| Included file is missing | validation | error | test-harness, test262, harness, includes, validation |
| Expected but got | exception | error | install, version-mismatch, native-binary, env |
| Expected onResolve() callback in plugin | validation | error | plugins, onresolve, validation, callback-contract |
| Unsupported input syntax | validation | error | tests, terser, internal, ast, test-tooling |
| must be | validation | error | config, validation, type-mismatch, options |
| Invalid color | panic | critical | esbuild, config, validation, panic, color, logger, enum |
| Failed to download | exception | error | wasm, network, browser, download, fetch |
| Invalid packages | panic | critical | esbuild, config, validation, panic, packages, enum |
| Unterminated string literal | panic | error | esbuild, lexer, javascript, typescript, syntax, string |
| onResolve() call is missing a filter | validation | error | plugins, onresolve, validation, api-misuse |
| Duplicate source found in source map | validation | error | test-harness, source-map, duplicate, verification, bundling |
| [ ] is missing a filter | validation | error | esbuild, plugin, regex, filter, config |
| Missing YAML metadata | validation | error | test-harness, test262, yaml, metadata, validation |
| The "wasmURL" option only works in the browser | validation | error | node, initialization, wasm, platform, validation |
| Could not find in archive | exception | error | install, download, registry, version-mismatch, tarball |
| Must specify "kind" when calling "resolve" | validation | error | plugins, resolve, api-misuse, validation |
| Cannot serve without an output path | validation | error | esbuild, serve, output, config |
| key in object must be a string | validation | error | plugins, validation, import-attributes, data-shape |
| Duplicated test name | validation | error | tests, terser, internal, test-tooling, dedup |
| Got null for source content for | exception | error | test-harness, source-map, sources-content, verification, validation |
| Failed to find " " in output | exception | error | test-harness, source-map, verification, mangling, validation |
| Unexpected backslash in JSX element | panic | error | syntax-error, parser, jsx, escaping |
| Should be boolean | validation | error | test-harness, terser, validation, boolean, contributor |
| Unterminated regular expression | panic | error | syntax-error, lexer, regex |
| must be an array of strings | validation | error | plugins, validation, watch, data-shape |
| Should be string or array of strings | validation | error | test-harness, terser, validation, string, contributor |
| [ ] filter is not a valid Go regular expression | validation | error | esbuild, plugin, regex, re2, filter |
| The working directory | exception | error | esbuild, filesystem, config, path |
| Must provide either the "wasmURL" option or the… | validation | error | browser, initialization, wasm, validation |
| The "wasmModule" option only works in the browser | validation | error | node, initialization, wasm, platform, validation |
| Cannot use the "watch" API in this environment | exception | error | environment, filesystem, browser, wasm, watch |
| Plugin at index must be an object | validation | error | plugins, validation, config, api-misuse |
| Expected in mangle cache to map to either a string or false | validation | error | config, validation, mangle-cache |
| Expected onEnd() callback in plugin | validation | error | plugins, onend, validation, callback-contract |
| Invalid origin | validation | error | esbuild, serve, cors, config |
| For loop initializers cannot start with "async of" | panic | error | syntax-error, parser, async, for-loop |
| Invalid port number | validation | error | esbuild, cli, serve, port, config |
| The "serve" API is not supported when using WebAssembly | exception | error | esbuild, wasm, serve, platform |
| Output directory must be contained in serve directory | validation | error | esbuild, serve, filesystem, path, config |
| Cannot use the "serve" API in this environment | exception | error | environment, filesystem, browser, wasm, serve, dev-server |
| Invalid charset | panic | critical | esbuild, config, validation, panic, charset, enum |
| Missing property "in" for entry point at index | validation | error | config, validation, entry-points |
| Expected onLoad() callback in plugin | validation | error | plugins, onload, validation, callback-contract |
| Invalid path suffix returned from plugin (must start with… | validation | error | esbuild, plugin, onresolve, validation |
| Plugin is missing a setup function | validation | error | plugins, validation, config |
| could not decode percent-escaped data | exception | error | esbuild, data-url, percent-encoding, resolver |
| Cannot compute relative path from | validation | error | esbuild, serve, filesystem, windows, path |
| Expected value for supported | validation | error | config, validation, supported, type-mismatch |
| Invalid binding pattern | panic | error | syntax-error, parser, destructuring, arrow-function |
| Unicode escape sequence is out of range | panic | error | syntax-error, lexer, unicode, string, escaping |
| Must specify both key and certificate for HTTPS | validation | error | esbuild, serve, https, tls, config |
| Unexpected ":" | panic | error | syntax-error, parser, typescript, arrow-function |
| Missing "kind" in () call | validation | error | api, validation, format-messages |
| Should be array of strings | validation | error | test-harness, uglify, validation, string-array, contributor |
| Expected identifier but found | panic | error | syntax-error, parser, import-export |
| onLoad() call is missing a filter | validation | error | plugins, onload, validation, api-misuse |
| Invalid define | validation | error | config, validation, define |
| Plugin at index is missing a name | validation | error | plugins, validation, config |
| Invalid serve path | validation | error | esbuild, serve, filesystem, path |
| Unexpected "interface" | panic | error | syntax-error, parser, typescript, interface, export, newline |
| Unexpected newline before "=>" | panic | error | syntax-error, parser, arrow-function, newline |
| Unexpected "..." | panic | error | syntax-error, parser, spread, arrow-function |
| Invalid loader extension | validation | error | config, validation, loader |
| could not decode base64 data | exception | error | esbuild, data-url, base64, resolver |
| Cannot watch a disposed context | validation | error | esbuild, context, watch, lifecycle |
| The input to "transform" must be a string or a Uint8Array | validation | error | api, validation, transform, type-mismatch |