firebase / firebase/firebase-tools-ui

Firestore not opening in the emulator from the very start

Open
#989 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
291
Forks
74
PR merge metrics
No merged PRs in 30d

Description

Note: Before filing bugs in this repo, please ensure that this is a bug for the Emulator Suite UI. Emulator Suite and/or Firebase CLI bugs should be filed under the firebase-tools repo here:
https://github.com/firebase/firebase-tools/issues/new/choose

**Describe the bug**
This happens when I use VSCODE Spaces. It runs fine on my local laptop
I just installed firebase emulator and tried to run Firestore, but it is just not running. It gives the following error.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to 'http://127.0.0.1:4000/firestore/data'
2. Error occurs

**Expected behavior**
The website should not throw a unhandled exception.

**Screenshots**
If applicable, add screenshots to help explain your problem.

logs that come on web console ->
```
index.esm2017.js:622 Uncaught (in promise) FirebaseError: Firebase: Error thrown when reading from storage. Original error: Firebase: Firebase App named 'firestore component::0.5070323451736922' already deleted (app/app-deleted).. (app/storage-get).
at g0e (index.esm2017.js:622:29)
at async x0e.read (index.esm2017.js:828:40)
```
**Desktop (please complete the following information):**

- OS: [e.g. iOS]
- Browser - both chrome and safari
- Firebase CLI -> 12.5.3
- node -> happening on all node v16, 18, 20

Contributor guide

Open the contributing guide

Research direction

Start by opening http://127.0.0.1:4000/firestore/data in the Emulator Suite UI with the reported setup and inspect the browser console for the app-deleted storage error. Done means Firestore opens from the start without an unhandled exception; the issue does not mention a source file or test to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
firebase, typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.