evanw/esbuild

Documented errors, page 2 of 2. Back to evanw/esbuild

Code / MessageTypeSeverityTags
Unexpected newline after "async"
panic error syntax-error, parser, async, export, newline
Invalid out extension
validation error config, validation, out-extension
The "formatMessagesSync" API only works in node
exception error browser, sync, async, platform, wasm
Invalid banner file type
validation error config, validation, banner
Unexpected "," after rest pattern
panic error syntax-error, parser, destructuring, rest-spread
Missing second argument in
validation error api, validation, format-messages
The "transformSync" API only works in node
exception error browser, sync, async, platform, wasm
Expected identifier after
panic error syntax-error, parser, jsx
Invalid log override
validation error config, validation, log-override
The "analyzeMetafileSync" API only works in node
exception error browser, sync, async, platform, wasm
Unexpected "-"
panic error syntax-error, parser, jsx
Cannot serve a disposed context
validation error esbuild, context, serve, lifecycle
Unexpected newline after "type"
panic error syntax-error, parser, typescript, export, newline
Multiple default clauses are not allowed
panic error syntax-error, parser, switch
Invalid footer file type
validation error config, validation, footer
Watch mode has already been enabled
validation error esbuild, context, watch, lifecycle
Invalid supported
validation error config, validation, supported
Serve mode has already been enabled
validation error esbuild, context, serve, lifecycle
Invalid fallback path
validation error esbuild, serve, filesystem, path
Unexpected end of file before a closing
panic error syntax-error, parser, jsx
Invalid package name in alias
validation error config, validation, alias