-
Notifications
You must be signed in to change notification settings - Fork 977
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
firestore does not work properly in from node 18 #5755
Comments
Interesting thing I found is that it has been passed in node 20! But I don't want to use node 20 at the moment so it would be happy to use node 18. |
Any update for this? 🙇 |
Hi @daenamkim, apologies for the delay and thanks for the MCVE and the detailed description of the issue you're encountering. I was able to replicate the issue you mentioned, when I tried running I’ll notify our team about these issues so that they can provide more context and investigate what might be causing this. |
Hi daenamkim, After investigating with aalej and lahirumaramba this is a known issue where Node's 18 defaults to ipv6 address resolution: One solution proposed in that bug is setting the following in your App: That will work around the issue in the short term. The solution we've taken in the emulator suite is to use an explicit IP address like |
[REQUIRED] Environment info
firebase-tools:
Platform:
[REQUIRED] Test case
See an attached file: firebase-tools-report.zip
[REQUIRED] Steps to reproduce
See an attached file: firebase-tools-report.zip
[REQUIRED] Expected behavior
Should be success (since it has been passed until node 16)
Out of curiosity, I see this when I did not put
runtime
infirebase.json
, does this mean higher than 16 is not supported? Since I have tested node 17 and 18, both did not work.[REQUIRED] Actual behavior
The text was updated successfully, but these errors were encountered: