-
Notifications
You must be signed in to change notification settings - Fork 496
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
Rust panicked / native SWC-based parser #2010
Comments
Hi dear @fabianwohlfart i would be happy to help tracing back to upstream but need a runnable reproduction are you able to somehow share me one? 🙏🏼 |
Hi @pi0, He suggested to try to use npm overrides to exchange rollup with @rollup/wasm-node. Is there a world where Nitro will not use the SWC version, but the WebAssembly one, maybe through config? I think we can close this issue here. |
Thanks for confirming and linking. You can use "resolutions": {
"rollup": "npm:@rollup/wasm-node"
},
"overrides": {
"rollup": "npm:@rollup/wasm-node"
}, |
Thanks. |
Environment
Nitro > 2.7.2 (2.8.0, 2.8.1)
Node >= 18
Linux on a Mittwald Server L – They are super restrictive in the information they provide. Through ssh it's not possible for me to determine which Ubuntu version is used.
Reproduction
Building a server with Nuxt
nuxt build
Describe the bug
At the point where
nuxt build
willBuilding Nitro Server (preset: node-server)
it suddenly errors out with a rust panic:I am certainly sure, that it has to do with the native SWC-based parser, which was introduced in 2.8.0.
/usr/local/
is not writeable for my user.Additional context
I would appreciate any help and advice in how to approach this error. I am a bit lost indeed… Should I also head over to @swc/cli to report this behavior?
Logs
No response
The text was updated successfully, but these errors were encountered: