-
Notifications
You must be signed in to change notification settings - Fork 951
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 Firestore emulator does not display any data when run from WSL 2 Ubuntu #2526
Comments
@es80 thanks for the logs and the reproduction instructions! @yuchenshi is this the same WSL error you've been looking into here firebase/firebase-tools-ui#332? |
It's unclear whether this is a connectivity issue or something like that. I have one request for @es80 -- could you please pull up your browser's developer tools, navigate to Network Requests and then refresh the Emulator UI page at the very end? If things show up after refresh, then you're running into a known issue -- collections are NOT real-time in the viewer. Documents and fields are, but collections themselves will only show up after fresh. If you see network errors, just screenshot these errors and we'll take a closer look. |
I think you're experiencing firebase/firebase-tools-ui#332. Navigating to a path won't create that path. To start a collection, click on the "Start collection" menu item under "Root" as shown in your last screenshot. But again, I don't think that is going to work either given the WSL issue. Please head over to firebase/firebase-tools-ui#332 for workarounds and subscribe for updates. |
[REQUIRED] Environment info
firebase-tools: 8.6.0
Platform: Windows WSL 2 Ubuntu (20.04)
[REQUIRED] Test case
[REQUIRED] Steps to reproduce
Modify
functions/src/index.ts
as above.Call function, confirm data written and read back OK via logs and firestore itself.
Call function, confirm data written and read back OK via logs.
However, no data displayed in (localhost) firestore.
Now switch away from WSL 2 Ubuntu to regular Windows.
Call function, confirm data written and read back OK via logs and (localhost) firestore.
[REQUIRED] Expected behavior
Data should be displayed in localhost firestore.
[REQUIRED] Actual behavior
No data displayed in localhost firestore.
The text was updated successfully, but these errors were encountered: