-
Notifications
You must be signed in to change notification settings - Fork 508
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
Preset cloudflare not ignoring optional require() #293
Comments
I am experiencing thesame issue as above . thing is i can not even tell what is causing the error. the package referred to does not exist in my project |
Same issue with the Cloudflare preset here :/ |
Same issue when upgraded nuxt to 3.0.0-rc.8-27699522.e38e1de |
MongoDB is not compatible with worker platforms. Please follow up via #949 |
Environment
node v16.14.2
nitropack 0.4.7
Reproduction
https://stackblitz.com/edit/github-dfijad?file=nuxt.config.ts
run
npm run build
Describe the bug
Default preset works well when building with package with optional require() (in my case, mogodb)., but not with preset cloudflare.
It throws
Additional context
Code snap from mongodb sdk
Logs
No response
The text was updated successfully, but these errors were encountered: