typewind icon indicating copy to clipboard operation
typewind copied to clipboard

SWC_core version outdated for Next 14.2.5

Open 60pfennig opened this issue 7 months ago • 0 comments

On updating NextJs from 14.1.4 to 14.2.5 we get build errors cause by typewind. I seems that the used swc version for the transpile plugin is outdated.

Trace:

Caused by:
0: failed to invoke node_modules/typewind/dist/typewind_swc.wasm as js transform plugin at node_modules/typewind/dist/typewind_swc.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 https://swc.rs/docs/plugin/selecting-swc-core for compatibility information. If you are an author of the plugin, please update swc_core to the compatible version.
2: RuntimeError: unreachable
3: failed to invoke plugin: failed to invoke plugin on 'Some("pages/contact.tsx")'

Caused by:
0: failed to invoke node_modules/typewind/dist/typewind_swc.wasm as js transform plugin at node_modules/typewind/dist/typewind_swc.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 https://swc.rs/docs/plugin/selecting-swc-core for compatibility information. If you are an author of the plugin, please update swc_core to the compatible version.
2: RuntimeError: unreachable

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Caused by:
0: failed to invoke node_modules/typewind/dist/typewind_swc.wasm as js transform plugin at node_modules/typewind/dist/typewind_swc.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 https://swc.rs/docs/plugin/selecting-swc-core for compatibility information. If you are an author of the plugin, please update swc_core to the compatible version.
2: RuntimeError: unreachable

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Caused by:
0: failed to invoke node_modules/typewind/dist/typewind_swc.wasm as js transform plugin at node_modules/typewind/dist/typewind_swc.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 https://swc.rs/docs/plugin/selecting-swc-core for compatibility information. If you are an author of the plugin, please update swc_core to the compatible version.
2: RuntimeError: unreachable

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Caused by:
0: failed to invoke node_modules/typewind/dist/typewind_swc.wasm as js transform plugin at node_modules/typewind/dist/typewind_swc.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 https://swc.rs/docs/plugin/selecting-swc-core for compatibility information. If you are an author of the plugin, please update swc_core to the compatible version.
2: RuntimeError: unreachable

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Caused by:
0: failed to invoke node_modules/typewind/dist/typewind_swc.wasm as js transform plugin at node_modules/typewind/dist/typewind_swc.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 https://swc.rs/docs/plugin/selecting-swc-core for compatibility information. If you are an author of the plugin, please update swc_core to the compatible version.
2: RuntimeError: unreachable

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Caused by:
0: failed to invoke node_modules/typewind/dist/typewind_swc.wasm as js transform plugin at node_modules/typewind/dist/typewind_swc.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 https://swc.rs/docs/plugin/selecting-swc-core for compatibility information. If you are an author of the plugin, please update swc_core to the compatible version.
2: RuntimeError: unreachable

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Caused by:
0: failed to invoke node_modules/typewind/dist/typewind_swc.wasm as js transform plugin at node_modules/typewind/dist/typewind_swc.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 https://swc.rs/docs/plugin/selecting-swc-core for compatibility information. If you are an author of the plugin, please update swc_core to the compatible version.
2: RuntimeError: unreachable

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Caused by:
0: failed to invoke node_modules/typewind/dist/typewind_swc.wasm as js transform plugin at node_modules/typewind/dist/typewind_swc.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 https://swc.rs/docs/plugin/selecting-swc-core for compatibility information. If you are an author of the plugin, please update swc_core to the compatible version.
2: RuntimeError: unreachable

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Caused by:
0: failed to invoke node_modules/typewind/dist/typewind_swc.wasm as js transform plugin at node_modules/typewind/dist/typewind_swc.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 https://swc.rs/docs/plugin/selecting-swc-core for compatibility information. If you are an author of the plugin, please update swc_core to the compatible version.
2: RuntimeError: unreachable

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Caused by:
0: failed to invoke node_modules/typewind/dist/typewind_swc.wasm as js transform plugin at node_modules/typewind/dist/typewind_swc.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 https://swc.rs/docs/plugin/selecting-swc-core for compatibility information. If you are an author of the plugin, please update swc_core to the compatible version.
2: RuntimeError: unreachable

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Caused by:
0: failed to invoke node_modules/typewind/dist/typewind_swc.wasm as js transform plugin at node_modules/typewind/dist/typewind_swc.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 https://swc.rs/docs/plugin/selecting-swc-core for compatibility information. If you are an author of the plugin, please update swc_core to the compatible version.
2: RuntimeError: unreachable

Failed to compile.

Error: failed to process failed to invoke plugin: failed to invoke plugin on 'Some("node_modules/next/dist/pages/_error.js")'

Caused by:
0: failed to invoke node_modules/typewind/dist/typewind_swc.wasm as js transform plugin at node_modules/typewind/dist/typewind_swc.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 https://swc.rs/docs/plugin/selecting-swc-core for compatibility information. If you are an author of the plugin, please update swc_core to the compatible version.
2: RuntimeError: unreachable

Import trace for requested module:
node_modules/next/dist/pages/_error.js

pages/_app.tsx
Error: failed to process failed to invoke plugin: failed to invoke plugin on 'Some("pages/_app.tsx")'

Caused by:
0: failed to invoke node_modules/typewind/dist/typewind_swc.wasm as js transform plugin at node_modules/typewind/dist/typewind_swc.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 https://swc.rs/docs/plugin/selecting-swc-core for compatibility information. If you are an author of the plugin, please update swc_core to the compatible version.
2: RuntimeError: unreachable

pages/_document.tsx
Error: failed to process failed to invoke plugin: failed to invoke plugin on 'Some("pages/_document.tsx")'

Caused by:
0: failed to invoke node_modules/typewind/dist/typewind_swc.wasm as js transform plugin at node_modules/typewind/dist/typewind_swc.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 https://swc.rs/docs/plugin/selecting-swc-core for compatibility information. If you are an author of the plugin, please update swc_core to the compatible version.
2: RuntimeError: unreachable

pages/agb.tsx
Error: failed to process failed to invoke plugin: failed to invoke plugin on 'Some("pages/agb.tsx")'

Caused by:
0: failed to invoke node_modules/typewind/dist/typewind_swc.wasm as js transform plugin at node_modules/typewind/dist/typewind_swc.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 https://swc.rs/docs/plugin/selecting-swc-core for compatibility information. If you are an author of the plugin, please update swc_core to the compatible version.
2: RuntimeError: unreachable

Import trace for requested module:
pages/agb.tsx

pages/beneficial-ownership.tsx
Error: failed to process failed to invoke plugin: failed to invoke plugin on 'Some("pages/beneficial-ownership.tsx")'

Caused by:
0: failed to invoke node_modules/typewind/dist/typewind_swc.wasm as js transform plugin at node_modules/typewind/dist/typewind_swc.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 https://swc.rs/docs/plugin/selecting-swc-core for compatibility information. If you are an author of the plugin, please update swc_core to the compatible version.
2: RuntimeError: unreachable

Import trace for requested module:
pages/beneficial-ownership.tsx

60pfennig avatar Jul 16 '24 11:07 60pfennig