-
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
Firebase promises stuck in "pending" during next export #4793
Comments
@timneutkens I updated both projects to latest release of next ( |
It's not released yet, I merged it when I saw your issue. Will do a new release soon. |
@timneutkens With version |
Great, will close this then 🙌 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug report
Describe the bug
Related to #2126
When trying to export any project using firebase, as soon as
firebase.database()
is called, the export gets stuck and won't finish. As mentioned in issue 2126 if I kill the process, the page works fine, so it seems to complete the main process.I have tried this both in my own project, as well as the learnnextjs-demo, branch
firebase-hn
.I've also tried to force break out of the Promise (where I think is the problem, but can't know for sure) with both Promise.reject/resolve and throwing errors.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
dev
next build && next export
Expected behavior
To complete the export process.
Screenshots
System information
Additional context
The the demo project, I added
...and to my project I'm using
nextjs-export-path-map
:I've experimented with loading all of firebase as well as specific ones:
The text was updated successfully, but these errors were encountered: