blitz-js / blitz-js/next-superjson-plugin
failed to invoke as js transform plugin. RuntimeError: unreachable
- Dominant language
- Rust
- Stars
- 216
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
### Verify Next.js canary release
- [X] I verified that the issue exists in the latest Next.js canary release
### Describe the bug
Installed latest next and next-superson-plugin. But when I try and start the dev server get the following error
```
⨯ ./src/middleware.ts
Error: failed to process failed to invoke plugin: failed to invoke plugin on 'Some("/path/src/middleware.ts")'
Caused by:
0: failed to invoke `/path/node_modules/next-superjson-plugin/dist/next_superjson.wasm` as js transform plugin at /path/node_modules/next-superjson-plugin/dist/next_superjson.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
```
I'm not sure why this is happening on my `middleware.ts` file
### Expected behavior
Expect the application to start without any issues
### Reproduction link
_No response_
### Version
0.6.3
### Config
_No response_
### Additional context
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.