swc-project/swc

Documented errors, page 4 of 6. Back to swc-project/swc

Code / MessageTypeSeverityTags
{decl:?}
panic error swc, typescript, strip-types, var-declarator, ambient-declarations, unsupported-ast, panic
An element descriptor's .placement property must be one of…
exception error rust, proc-macro, derive, swc, compile-time, enum
failed to parse as `InputFieldAttr`
panic error
Key already set. Previous value
panic error experimental, thread-local, duplicate-key, panic, swc-transform-common
SomethingSeenWhenSomethingOpen
Start tag " " seen but an element of the same type was already open
validation warning html, parser, head, duplicate-element, insertion-mode, swc
Expected ident (with 'not' value) token
validation error
failed to parse args of #[ast_node]
panic error
Unclosed children in "ruby"
validation warning html, parser, ruby, unclosed-elements, cjk, annotation
End tag seen without seeing a doctype first, expected…
exception warning html, parser, doctype, end-tag, quirks-mode, fragment, swc
Expected ident, '*' or '|' delim tokens
validation error css, selector, namespace, syntax
Expected '(' or 'function' token
validation error
failed to create global mutex named
panic critical windows, mutex, os-resources, panic, platform-specific
Expected dimension, number or '?' delim token
validation error
Expected 'dpi', 'dpcm', 'dppx' or 'x' units
validation error css, swc, parser, resolution, units, media-query
Expected whitespace, ';', '@', ident or EOF
validation error
generic parameter other than type
panic error
prettier failed
exception error dbg-swc, js-beautify, npx, subprocess, formatter
swc-loader only accepts path. Got
exception error swc-loader, node-bundler, filename-type, virtual-fs, module-loading
codegen of `export default from 'foo';`
panic error
Invalid attribute modifier
validation error
" " is write-only
exception error private-field, accessor, write-only, es2022, class-properties
number, function (math functions) or ident (with 'none'…
validation error css, swc, parser, color, lab, oklab, legacy-comma, syntax
failed to find input source map file
exception error swc, source-map, missing-file, sourcemappingurl
Multiple entries with same input path detected
validation error swc, bundler, entry-points, duplicate-entry
Node path provider does not support using
panic error swc, transforms-module, path-resolution, filename, base-dir, virtual-files, panic
number, dimension, functions (math functions) or ident…
validation error css, swc, parser, color, lch, oklch, hue, legacy-comma, syntax
Tried to parse an argument of yield
validation error
determine_export_name
panic error swc, umd, filename, source-map, config
Expected Ident
validation error
Invalid attribute matcher
validation error css, selector, attribute-selector, operator
Expected 'number', 'dimension', 'percentage', 'ident', '('…
validation error
Object rest pattern should be removed by…
panic error swc, compat, es2015, es2018, object-rest, pass-order
computed spread property
panic error
Expected 's' or 'ms' units
validation error css, swc, parser, time, units
Invalid An+B microsyntax
validation error
Unexpected '!' in declaration value
validation error
Bundle command is not yet implemented
panic error
#[derive(Spanned)]: cannot determine span field to use for
panic error rust, proc-macro, swc, span, derive, compile-time
No cell to close
validation warning html, html-parser, table, stray-end-tag, parse-error, swc
Expected url or function (with 'url' or 'src' name) token
validation error
Fallback bindings does not support legacy plugins, it'll be…
console warning wasm, plugin, fallback, swc-core, node
Object is not iterable.
exception error for-of, iterable, downlevel-iteration, typescript, typeerror
Stray doctype
exception warning html, parser, doctype, foreign-content, svg, mathml, swc
failed to parse ` ` using lexical
panic error swc, css, selector, nth-child, integer-overflow
Minify command is not yet implemented
panic error
UnexpectedEofInMainPhase
Unexpected end of file in main phase
validation error
Garbage in "colgroup" element
validation error
swc does not support record expressions
panic error estree-compat, swcify, ast-conversion, record-tuple-proposal, panic
Cannot destructure
exception error destructuring, null, undefined, es2015, typeerror
Expected function or ident tokens
validation error
Expected string token
validation error
failed to set property
exception error super, setter, prototype-chain, strict-mode, es2015
Object not disposable.
exception error using-declaration, disposable, symbol-dispose, explicit-resource-management
Unknown suffix
panic error proc-macro, swc, rust, internal, compile-time
Expected dimension token
validation error
illegal conversion: Cannot convert
panic error swc, estree, babelify, class, panic
Unknown span attribute
panic error rust, proc-macro, swc, span, derive, compile-time
Expected known named color or 'transparent' keyword
validation error css, swc, parser, color, named-color
Bindings not found
exception critical swc, native-bindings, transformsync, install
swc does not support do expressions
panic error
Invalid attribute name
validation error css, selector, attribute-selector, syntax
JSXNamespacedName -> JSXObject
panic error
#[derive(FromVariant)] only works for an enum.
panic error rust, proc-macro, swc, derive, from-impl, compile-time
#[derive(FromVariant)] requires all variants to be tuple…
panic error rust, proc-macro, swc, derive, enum-variant, compile-time
unknown attribute
panic error rust, proc-macro, swc, ast-node, compile-time
Expected 'fr' unit
validation error css, swc, parser, flex, grid, units
Invalid attribute matcher value
validation error css, selector, attribute-selector, quoting
Lint command is not yet implemented
panic error
Currently @swc/wasm does not support plugins, plugin…
console warning wasm, plugin, not-supported, config, swc-wasm
Expected Num
validation error
Object expected.
exception error using-declaration, explicit-resource-management, typescript, disposable
unknown binary operator
panic error swc, optimizer, simplifier, constant-folding, bitwise-operators, ast-invariant, panic
union
panic error rust, proc-macro, derive, union, compile-time
attempted to use private field on non-instance
exception error xml, parser, cdata, trailing-content, swc, recoverable
End of file seen without seeing a doctype first, expected…
exception warning html, parser, doctype, empty-input, eof, quirks-mode, swc
union unsupported
panic error rust, proc-macro, derive, decode, union
Non-space character in "colgroup" element
validation error
UnclosedElementsImplied
End tag "li" implied, but there were open elements
validation error
Var type should be one of: Ident, Expr, Pat; got
panic error proc-macro, quote, compile-time, annotation, type-syntax
rest pattern should handled by array pattern handler
panic error swc, compat, es2015, destructuring, rest-pattern, ast
" " start tag with "select" open
validation warning html, html-parser, select, form-controls, parse-error, swc
Expected 'from' or 'to' idents
validation error
Expected number, ident, dimension or function token
validation error css, swc, parser, at-rules, media-query, media-feature, values, syntax
flow
panic error swc, babel, flow, declare, ambient, ast-conversion
Should able to convert size
panic error integer-overflow, plugin, serialization, panic
illegal conversion: Cannot convert
panic error rust, swc, babelify, destructuring, default-value, parser-error-recovery, panic
BadStartTagInNoscriptInHead
Bad start tag in " " in "noscript" in "head
validation error
Babel doesn't support this right now.
panic error swc, babel, estree, typescript, ast-conversion
#[derive(Spanned)]: #[span(lo)] and #[span(hi)] is required
panic error rust, proc-macro, swc, span, derive, compile-time
Duplicate __self is found
panic error swc, jsx, react, development, duplicate-attribute, panic
emitting decorator metadata while using new proposal
panic error swc, decorators, typescript, config, nestjs
Expected ident (with 'and' value) token
validation error
Expected 'left', 'right', 'first' or 'blank' ident
validation error css, swc, parser, at-rules, page-rule, print, syntax
failed to parse input as an item
panic error
failed to write to temp file
panic error test-harness, temp-file, disk-full, io-error, swc
NonSpaceCharacterInNoscriptInHead
Non-space character inside "noscript" inside "head"
validation error
The requested const_module
panic error const-modules, member-access, missing-export, globals
Could not find .swcrc file while using rootMode…
validation error swc, swcrc, root-mode, config-discovery
Pattern
panic error
Expected indent token
validation error css, custom-media, syntax, naming