-
Notifications
You must be signed in to change notification settings - Fork 14
Crashes out-of-the-box with current NextJS #331
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
Comments
Hey @mabinogi Thank you very much for opening the issue. It really looks like something doesn't work with our SWC plugin in your error stack. However I cannot reproduce it myself. Could you create a small reproduction repo? Do you use turbopack by any chance? How does your page look like? I will be happy to take a look and figure out what's going on |
Hi @Mad-Kat - here's a reproduction repo: https://github.com/mabinogi/next-yak-test It's really just the result of And yes, it's using Turbopack |
Thank you so much for the reproduction. If you run Currently We're actively in contact with the vercel folks and working on the support of turbopack. You can track #315 to get notified once the support for it is established. |
Thanks @Mad-Kat - I can confirm it works for me without Turbopack, sorry for the false alarm! |
No worries @mabinogi . Feel free to open issues for anything you find. |
there are multiple issues with turbopack:
we are trying to find workarounds but some of these issues are hard blockers |
Is vercel/next.js#74825 still a hard blocker or do the data URL CSS Modules help with that? |
Hey Niklas No I don't think it's a hard blocker anymore. I've tested the data URL integration with a custom loader and it seems to work perfect. Thank you a lot for your work there 🚀 Edit: @mischnic After further testing I noticed that |
With a brand new NextJS application, following the getting started instructions results in a crash when running NextJS in dev mode.
A production build seems to work fine.
[email protected]
[email protected]
After wrapping the NextJS config with
withYak
, attempting to render any page results in this:The text was updated successfully, but these errors were encountered: