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:
11 Replies
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:
----------------------<@230365865697083404> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
@Zampa try updating!
https://github.com/vitejs/rolldown-vite/issues/151
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...oh damn, I just assumed Nuxt wasn't supported yet
just tried it and it's working 🤯
Yes! Hopefully soon even a bit better than right now. Working on it 😄
[nuxi 9:42:39 PM] ERROR Cannot start nuxt: Loading @nuxt/vite-builder builder failed. You can read more about the nuxt builder option at: https://nuxt.com/docs/api/nuxt-config#builder
tried a completely vanilla Nuxt app with nothing in it and got
ERROR Package subpath './filter' is not defined by "exports"
Hi,@Nathan Chase,may I ask if you have solved this problem?
I have same error like this.
no I haven't yet - mainly because rolldown-vite uses lightningcss and it's not compatible with some of the postcss I'm using
Ok,thank you for your reply.🤝
An issue would be helpful though!
Yeah,you're right.Thank you for your suggestion. And I have solved this problem,it was caused of changing npm registry, when I change it to official registry, then it's working.