-
Notifications
You must be signed in to change notification settings - Fork 27k
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
Build fails when importing Firestore and using target serverless #8797
Comments
This is fixed through the |
Yes, setting FYI: @Ferezoz due to the way Firebase is designed, it's not compatible with |
We should look at de-experimentalizing this (because it's no longer experimental). |
The difference is that Bundling This problem doesn't exist for client-side code because there's no concept of external files in the browser. All things considered (ready-to-go
If you're deploying to ZEIT Now: Nope! We automatically handle and optimize lambda size for you. If you're self-hosting via |
Thank you for the explanation! 🙂 I'm using ZEIT Now so I don't need anything else. |
This is tracked somewhere else right now, so let's close this issue 👍 |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Bug report
Describe the bug
Build fails when importing
Firestore
and usingtarget: 'serverless'
even after upgradingnext
to at least version 9.0.4 as mentioned here: #6073 (comment).Module not found: Can't resolve 'memcpy' in '.../node_modules/bytebuffer/dist'
To Reproduce
Expected behavior
Build should succeed.
Screenshots
System information
Additional context
It works on local
next dev
.The text was updated successfully, but these errors were encountered: