firebase / firebase-tools-ui

A local-first UI for Firebase Emulator Suite.
https://firebase.googleblog.com/2020/05/local-firebase-emulator-ui.html
Apache License 2.0
274 stars 63 forks source link

Emulator UI crashing on start #1023

Closed juanelegomezc closed 8 months ago

juanelegomezc commented 8 months ago

Firebase emulator UI is not starting, get an " Emulator UI has exited with code: 1" error and then it shutdowns, emulators starts fine when disabling ui in firebase.json

This is the firebase emulators:start output:

i emulators: Starting emulators: auth, functions, firestore, hosting, storage ⚠ functions: The following emulators are not running, calls to these services from the Functions emulator will affect production: database, pubsub i firestore: Firestore Emulator logging to firestore-debug.log ✔ firestore: Firestore Emulator UI websocket is running on 9150. i hosting[cotizador-coneja]: Serving hosting files from: public ✔ hosting[cotizador-coneja]: Local server: http://127.0.0.1:5002 i ui: Emulator UI logging to ui-debug.log ⚠ ui: Fatal error occurred: Emulator UI has exited with code: 1, stopping all running emulators i ui: Stopping Emulator UI i functions: Stopping Functions Emulator i hosting: Stopping Hosting Emulator i firestore: Stopping Firestore Emulator i auth: Stopping Authentication Emulator i storage: Stopping Storage Emulator i eventarc: Stopping Eventarc Emulator i hub: Stopping emulator hub i logging: Stopping Logging Emulator

ui-debug.log

Expected behavior Would expect for emulator ui and other emulators to start normally.

Desktop (please complete the following information):

juanelegomezc commented 8 months ago

I have previously installed firebase with curl -sL https://firebase.tools | bash Uninstalled it with curl -sL firebase.tools | uninstall=true bash and then installed with npm install -g firebase-tools

Now everything's working fine.