-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
Error when building with firebase #6655
Comments
I'm also having this same problem with the Firebase Hosting example. Would love to hear your solution to this problem if you found one. |
It looks like this import in index.js is causing the deployment problem:
The file doesn't seem to be using this import at all, so you can safely remove it. I can see you are importing individual firebase packages correctly via the rebase.js file. Without this line, the deployment is successful, but the app still doesn't work. It's probably related to this: |
We're adding support for Firebase in serverless soon, we'll post here when we have an update! |
@Timer Is there a workaround in the mean time? Thanks! |
@Timer hey sorry to bodder you Joe, is there any fix encounter soon? (all good on dev server, but still cannot build using firebase even old versions). |
@scemii hey! We finalized some changes needed, but we're focusing on releasing Next 9 right now. 🙏 This is one of our high priority items right after 9.0 ships! |
@Timer Hi, thank you for the support ! Do you have any ETA for this ? |
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. |
Running
npm run build
or deploying to now generates the error belowI made a small repo here
To replicate issue:
Additional notes:
npm run dev
works fine, locally. I can't deploy due to error.target: 'serverless'
removes the error on build but I can't deploy it without the serverless configThe text was updated successfully, but these errors were encountered: