N
Nuxt3d ago
Zampa

Nuxt + rolldown-vite

I followed the instructions for adding rolldown-vite, and as an override for vite, but on nuxt dev I just see an error:
thread '<unnamed>' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.67.0/src/generated/get_id.rs:36:33:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
thread '<unnamed>' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.67.0/src/generated/get_id.rs:36:33:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
5 Replies
kapa.ai
kapa.ai3d ago
Hi @Zampa. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- I'm sorry, but the knowledge sources do not contain enough information to diagnose or resolve the specific Rust panic error you are encountering when using Nuxt with rolldown-vite. The available sources confirm that experimental support for rolldown-vite has been added to Nuxt, and mention some current issues and limitations (such as lack of watch mode, certain unsupported Rollup options, and plugin compatibility), but they do not mention Rust panics or errors related to oxc_ast or provide troubleshooting steps for this scenario feat(nuxt,vite): add experimental support for rolldown-vite. If you continue to experience this issue, it may be helpful to check for updates on the official Nuxt or rolldown-vite repositories, or to open a new issue with detailed logs and reproduction steps. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai3d ago
<@230365865697083404> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
manniL
manniL3d ago
GitHub
error: called Option::unwrap() on a None value code: "GenericF...
Describe the regression Getting error: called Option::unwrap() on a None value code: "GenericFailure" in rolldown-vite app using react-router v7 in running dev mode. Building still wo...
harlan
harlan3d ago
oh damn, I just assumed Nuxt wasn't supported yet just tried it and it's working 🤯
manniL
manniL3d ago
Yes! Hopefully soon even a bit better than right now. Working on it 😄

Did you find this page helpful?