Raphael St
Raphael St

Reputation: 671

Firestore emulator displays 'ok'

When I launch firestore with that command:

firebase emulators:start

I get :

enter image description here There is no mention of firestore GUI, though I have installed the latest firesebase-tools.

When I get to the mentionned url : http://localhost:4040/

It only returns "ok" and I do not have access to the user interface to manipulate data. enter image description here

From Firebase tutorial video from 24th June 2020 I see that it is supposed to write "Gui: emulator GUI started at http://localhost:4000".

enter image description here

What do I do wrong ?

Upvotes: 3

Views: 389

Answers (2)

Irina Sargu
Irina Sargu

Reputation: 81

I had the same problem. I did the following steps to access the firebase GUI:

  1. Install firebase tools: npm install -g firebase-tools
  2. Firebase login: firebase login --no-localhost
  3. Firebase setup: firebase init
  4. Start emulator(s): firebase emulators:start --only firestore for starting only the firestore emulator or firebase emulators:start to start them all.

I've also found this tutorial about emulators very helpful.

Upvotes: 0

Raphael St
Raphael St

Reputation: 671

The problem was not related to firestore,

for some reasons firebase-tool was not updated properly , so I had to manually delete npm global folders and then reinstall firebase-tools.

Upvotes: 2

Related Questions