-
Notifications
You must be signed in to change notification settings - Fork 883
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
[Turbopack] Parsing css source code failed #1122
Comments
Is t here any update for this issue? @rwieruch How did you solve it? |
Did not solve it. Cannot use Turbopack until this is fixed :) But I think there is enough pressure on Library Maintainers with all these recent changes in the React/Next community, so I'd hope that someone else may see this as a good first issue to contribute to open source :) |
Related vercel/turborepo#2356 (comment) |
@rwieruch I was able to do a workaround using the cdn:
|
I was unable to reproduce this issue mentioned. My setup includes the following versions:
Everything seems to be working fine, and the Leaflet CSS is being bundled without any errors. If there was an issue, it appears it might have been related to the default Leaflet CSS. According to the vercel/turborepo#2356 (comment), the problem might have been caused by old CSS in Leaflet that's since been removed or updated. Given that I don't see the issue occurring, I think this should be closed. However, if anyone encounters the problem again, please list your dependencies / provide an example. |
@shenst1 solution works with turbo pack of nextjs. |
Bug report in v4
vercel/turborepo#2356 (comment)
Trying to use Turbopack in Next.js with the latest Leaflet/Leaflet-React version yields the error from the linked Issue. A Turbopack maintainer mentioned that Leaflet does not use valid syntax here.
The text was updated successfully, but these errors were encountered: