swc-project/swc

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

Code / MessageTypeSeverityTags
`deno bundle` failed with status code
exception error dbg-swc, deno, subprocess, bundle
Expected hash token
validation error css, swc, parser, color, hex, hash-token
Expected ' ' to be a function
exception error rust, proc-macro, derive, spanned, swc, compile-time
Method visitTsType not implemented.
exception error swc, legacy-plugin, visitor, typescript, ast
failed to parse namespace of context element
exception error swc, html, namespace, context-element, node-bindings
`env` and `jsc.target` cannot be used together
validation error swc, config, jsc-target, preset-env, conflicting-options
free list points to occupied slot
panic error
illegal conversion: Cannot convert
panic error swc, babelify, panic, import-attributes, literal-value, illegal-conversion
Property [Symbol.dispose] is not a function.
exception error swc, explicit-resource-management, symbol-dispose, runtime-typeerror, helpers
failed to emit error
panic error rust, swc, io, broken-pipe, diagnostics, emitter, panic
number, functions (math functions) or ident (with 'none'…
validation error css, swc, parser, color, lab, oklab, lch, oklch, legacy-comma, syntax
Start tag " " seen in "table
validation warning html, parser, table, input, hidden-field, in-table
unknown member must be a tag and a value
panic error rust, proc-macro, derive, decode, enum, unknown-variant
using declarations can only be used with objects…
exception error swc, explicit-resource-management, using-declaration, runtime-typeerror, helpers
Duplicated methods ( ) can't be decorated.
exception error swc, napi, file-io, node-bindings, panic, path
flow strip verification failed
exception error dbg-swc, flow, verification, transform
invalid source reference
validation error sourcemap, source-index, input-sourcemap, delta-encoding, malformed-input
Failed to convert RawValue to Data
panic critical sourcemap, serde, json, deserialization, panic
failed to swcify arguments
panic error ast-conversion, babel, estree, placeholder, swc
swc currently does not support importing typescript module…
panic error
Boolean logic in @custom-media at-rules is not supported by…
panic error
Expected id, class, attribute or pseudo-class selector
validation error css, selector, subclass, syntax
UnsafeId.into_id() is not allowed because it is very likely…
panic error
illegal conversion: Cannot convert
panic error
Module is not registered
panic error
unimplemented: dynamic code splitting
exception error swc, bundler, dynamic-import, code-splitting, node-bindings
module string names unimplemented
panic error
failed to parse input as document
exception error swc, html, parser, document, wasm-bindings
illegal conversion: Cannot convert
panic error swc, babelify, panic, import-attributes, shorthand-property, illegal-conversion
Plugin runner cannot detect plugin's schema version. Ensure…
exception error swc-plugin, cargo-features, build-config, schema-version, feature-flags
failed to merge into
panic error
Node path provider does not support using
panic error swc, transforms-module, path-resolution, filename, import-rewriting, resolver, panic
Expected ident (exclude the keywords 'only', 'not', 'and'…
validation error css, swc, parser, at-rules, media-query, syntax
UnsafeId.to_id() is not allowed because it is very likely…
panic error swc, identifiers, unsafid, identlike, api-misuse, panic
Cannot instantiate an arrow function
exception error arrow-function, constructor, new, async, es2017
illegal conversion: Cannot convert
panic error swc, estree, babelify, jsx, panic
unknown compound assignment operator
panic error swc, compat-es2015, generator, regenerator, compound-assignment, ast-invariant, panic
assign property in object literal is invalid
panic error swc, compat, es2015, object-literal, legacy-syntax
unimplemented
panic error
Failed to resolve plugin path
exception error swc, wasm-plugin, resolver, plugin-loading
Should able to read memory from given ptr
panic critical wasm, plugin, memory, panic, swc-plugin-runner
Sourcemap proxy cannot be called in this context
panic error wasm-plugin, source-map, target-arch, swc-plugin-proxy, host-interop
Syntax Error
exception error swc-ast-explorer, parser, typescript, tsx, syntax
Fallback bindings does not support filesystem access
exception error swc, wasm-fallback, parsefilesync, filesystem, native-bindings
UnclosedElementsCell
A table cell was implicitly closed, but there were open elements
validation warning html, table, table-cell, unclosed-elements, parse-error
A class descriptor's .kind property must be "class", but a…
exception error rust, proc-macro, derive, attribute, swc, compile-time
swc does not support flow types
panic error
swcify
panic error
index and/or in do not lie on character boundary
panic error rust, wtf8, unicode, string-slicing, panic, hstr
Non-computed member expression with property other than…
panic error swc, bundler, private-field, member-expression, ast
getter/setter property be compiled as CompiledProp::Accessor
panic error swc, compat-es2015, generator, accessor, getter-setter, ast-invariant, panic
attr_to_prop(JSXEmptyExpr)
panic error swc, react, jsx, jsx-attributes, empty-expression, invalid-ast, panic
Multiple identifiers equivalent up to span hygiene found
panic error swc, bundler, hygiene, identifier, inlining
swc does not support throw expressions
panic error
Cannot use import.meta outside a module
exception error xml, parser, stray-tag, prolog, swc, recoverable
failed to find `mocha` from path
panic error test-harness, mocha, path, missing-dependency, swc
Fallback bindings does not support filesystem access.
exception error swc, wasm-fallback, parsefile, filesystem, native-bindings
NoElementToCloseButEndTagSeen
No " " element in scope but a " " end tag seen
validation warning html, adoption-agency, formatting-elements, mis-nesting, parse-error
Start tag " " seen but an element of the same type was…
validation warning html, parser, anchor, nesting, formatting-elements
Stray end tag
exception warning html, parser, end-tag, orphan, foreign-content, swc
test_inlined_transform does not support paths outside of…
panic error test-harness, snapshot, path-resolution, runtime-panic, swc
Expected left comparison operator should be equal right…
validation error css, swc, parser, at-rules, media-query, media-feature, range-syntax, validation
unsupported discriminant type
panic error rust, proc-macro, derive, decode, enum, discriminant
illegal conversion: Cannot convert
panic error swc, estree, babelify, jsx, panic
Should able to deserialize
panic critical plugin, wasm, cbor, deserialization, metadata, version-mismatch, panic
ToCode for
panic error
Decl in ExportDecl
panic error swc, bundler, typescript, namespace, export
file not found
exception error module-resolution, node-resolver, file-not-found, swc-ecma-loader, import
illegal conversion: Cannot convert
panic error
Class " " cannot be referenced in computed property keys.
exception error xml, parser, doctype, misplaced-declaration, swc, recoverable
percentage, number, functions (math functions) or ident…
validation error css, swc, parser, color, alpha, hex-color, syntax
UnexpectedCharacter
Unexpected character, only whitespace character allowed
validation error xml, whitespace, prolog, well-formedness, parser
illegal conversion: Cannot convert
panic error swc, babelify, panic, import-attributes, computed-key, prop-name, illegal-conversion
internal error: entered unreachable code
panic error
invalid syntax
panic error swc, react, display-name, prop-assign, cover-grammar, invalid-ast, panic
attempted to get private field on non-instance
exception error xml, parser, text-node, whitespace, swc, recoverable
Targets
panic error
auto accessor
panic error
failed to create directory
panic error
" " end tag with "select" open
validation warning html, html-parser, select, table, stray-end-tag, parse-error, swc
failed to parse inline source map: not base64
exception error swc, source-map, base64, data-url, sourcemappingurl
illegal conversion: Cannot convert
panic error
Unexpected character in hex color
validation error css, swc, parser, color, hex, validation
Expected 'deg', 'grad', 'rad' or 'turn' units
validation error css, swc, parser, angle, units
" " is read-only
exception error private-field, accessor, readonly, es2022, class-properties
Option
panic error
Assignment to constant variable.
exception error xml, parser, tag-mismatch, well-formedness, swc, recoverable
derive(Merge) does not support an enum
panic error
swc does not support bind expressions
panic error
Expected hash, ident (with named color, system color…
validation error css, swc, parser, color, token
failed to create parent directory for temp directory
panic error test-harness, filesystem, permissions, target-dir, swc
failed to execute transfomred code
panic error test-harness, node, execution-test, runtime-panic, swc
failed to run query
panic error
attempted to private field on non-instance
exception error xml, parser, eof, unclosed-tag, truncation, swc, recoverable
illegal conversion: Cannot convert
panic error rust, swc, babelify, object-literal, parser-error-recovery, panic
ClassMember
panic error swc, decorators, typescript, class, static-block
failed to execute
exception error testing, node-execution, minifier, runtime-failure, swc-ecma-testing
no config matched for file
validation error swc, swcrc, config, file-matching
derive(Merge) does not support a unit struct
panic error
Expected percentage or number token
validation error css, swc, parser, color, alpha