You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to update SWC and plugins to latest version, but seems that latest version of @swc/plugin-emotion doesn't work with latest @swc/core v1.8.0.
[plugin:vite:react-swc] failed to handle: failed to invoke plugin: failed to invoke plugin on 'Some("/.../apps/host/src/index.tsx")'
Caused by:
0: failed to invoke `/.../node_modules/@swc/plugin-emotion/swc_plugin_emotion.wasm` as js transform plugin at /.../node_modules/@swc/plugin-emotion/swc_plugin_emotion.wasm
1: failed to run Wasm plugin transform. Please ensure the version of `swc_core` used by the plugin is compatible with the host runtime. See the documentation for compatibility information. If you are an author of the plugin, please update `swc_core` to the compatible version.
Note that if you want to use the os features like filesystem, you need to use `wasi`. Wasm itself does not have concept of filesystem.
https://swc.rs/docs/plugin/selecting-swc-core
See https://plugins.swc.rs/versions/from-plugin-runner/3.0.0 for the list of the compatible versions.
Build info:
Date: 2024-11-04
Timestamp: 2024-11-04T02:56:44.245486996Z
Version info:
swc_plugin_runner: 3.0.0
Dependencies: anyhow 1.0.92,codspeed-criterion-compat 2.7.2,criterion 0.5.1,enumset 1.1.5,futures 0.3.31,once_cell 1.20.2,parking_lot 0.12.3,serde 1.0.214,serde_json 1.0.132,swc_atoms 2.0.0,swc_common 3.0.0,swc_css_ast 3.0.0,swc_css_parser 3.0.0,swc_ecma_ast 3.0.0,swc_ecma_loader 3.0.0,swc_ecma_parser 4.0.0,swc_ecma_visit 3.0.0,swc_malloc 1.0.0,swc_plugin_proxy 3.0.0,testing 3.0.0,tokio 1.41.0,tracing 0.1.40,vergen 9.0.1,virtual-fs 0.16.0,wasmer 4.3.7,wasmer-cache 4.3.7,wasmer-compiler-cranelift 4.3.7,wasmer-wasix 0.27.0
2: RuntimeError: unreachable
at <unnamed> (<module>[4110]:0x18639d)
at <unnamed> (<module>[4106]:0x186282)
at <unnamed> (<module>[4105]:0x186255)
at <unnamed> (<module>[4086]:0x185544)
at <unnamed> (<module>[4085]:0x1854b0)
at <unnamed> (<module>[4097]:0x185be9)
at <unnamed> (<module>[4250]:0x1983f7)
at <unnamed> (<module>[4276]:0x199eed)
at <unnamed> (<module>[1265]:0x91b9b)
at <unnamed> (<module>[1264]:0x9194a)
at <unnamed> (<module>[123]:0xa3f5)
at <unnamed> (<module>[121]:0xa03d)
at <unnamed> (<module>[945]:0x853ef)
at <unnamed> (<module>[4376]:0x1a0cc0)
I have only one version of @swc/core installed (checked in lock file), and all other SWC dependencies updated. I'm not sure why It shows swc_plugin_runner: 3.0.0, but on https://plugins.swc.rs/versions/range/19 it displays that it should be 4.0.0
The text was updated successfully, but these errors were encountered:
I've tried to update SWC and plugins to latest version, but seems that latest version of
@swc/plugin-emotion
doesn't work with latest@swc/core
v1.8.0.I have only one version of
@swc/core
installed (checked in lock file), and all other SWC dependencies updated. I'm not sure why It showsswc_plugin_runner: 3.0.0
, but on https://plugins.swc.rs/versions/range/19 it displays that it should be 4.0.0The text was updated successfully, but these errors were encountered: