-
Notifications
You must be signed in to change notification settings - Fork 1.2k
RollupError when deploying to Cloudflare #1056
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
Getting the same error on a nuxt 3 project running nuxt build. |
@brunopbarbosa I'm running into the same issue with Nuxt 3, did u find a solution? |
You can try to bypass this issue for the affected component by wrapping it in |
I'm also having the same issue, did you find a solution?
Unfortunately wrapping it in |
Hey, unfortunately I ended up getting rid of PapaParse entirely. I don't exactly remember anymore, but I think client Only also didn't work for me. |
Hey, thanks for letting me know! I was thinking about doing the same, I'll also just get rid of it and use a different one! Thanks |
This happens because Nuxt is built on Nitro, and Nitro configures Rollup to do a blind search-and-replace for the literal string Line 52 in e3c7b26
I'm not sure what the right solution here is... arguably, the bug is in Nitro. They appear to be doing it for performance reasons (nitrojs/nitro@fdb2421). |
I filed a bug with Nitro: nitrojs/nitro#3071. I'm able to work around this issue by applying this config in Nuxt:
|
The text was updated successfully, but these errors were encountered: