-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when using with Next.js 13.4.1, 13.4.2 and 13.4.3 #13
Comments
Still happens to me using Next.js v13.4.1, tried pretty much everything. I'm seeing following error in the console output: .thread '<unnamed>' panicked at 'assertion failed: prev.start > max', /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasmer-compiler-3.2.1/src/engine/trap/frame_info.rs:224:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: PoisonError { .. }', /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasmer-compiler-3.2.1/src/engine/trap/frame_info.rs:220:39 Would really appreciate if you could take a look at this. Thank you for the effort. Comment related to #6 |
I am also seeing this error, but only when putting the swc configuration in my |
@KorySchneider Thats because the |
@fabio-nettis The readme for swc-jotai should be updated then, as it currently says to add the plugin configuration to your |
Either way I am still unable to get these plugins working. Here are the logs:
|
@KorySchneider The idea is that when using Next.js it should be added into |
@fabio-nettis I tried to add
to next.config.js and I still get this error. Can you please elaborate on your solution with the .swcrc file? |
@ornakash This configuration is completely valid according to the docs. But there seems to be a bug in the plugins rendering them unusable with the current next version. Henceforth the creation of this issue. |
This is a duplicate of #11. Same issue as here: wasmerio/wasmer#3793 |
Added the lines to next.config.js as mentioned in the documentation. In older versions everything worked perfectly, but for some reason it doesn't work anymore.
When I try to run my application, I am getting the following error:
Thanks in advance
The text was updated successfully, but these errors were encountered: