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
262 stars 60 forks source link

can't lauch emulators cos UI exit with code 1 #940

Closed wildergd closed 1 year ago

wildergd commented 1 year ago

Describe the bug I have switched to a mac with chip Apple M2 Pro and now i can't start emulators cos UI exit with code 1... i have tried several solutions: downgrading, using a lower version of node... i have tried node18, node16, node14 and nothing have worked... the only solution was to disable UI... but i need UI....

Screenshots

image image
lovpankaj commented 1 year ago

Happening On Windows too

lovpankaj commented 1 year ago

Manually unzipping the ui zip file at the same location fixed the issue

wildergd commented 1 year ago

thanks... it worked like a charm....

liquidx commented 1 year ago

Same thing is happening to me on MacBook Pro M2 2023. I've also tried different node versions, etc. Using node v18.16.0.

Unzipping it manually also fixed it for me, so maybe it's something happening with the original downloading and unpacking of the zip file in node?

lovpankaj commented 1 year ago

Clearly there is some issue with the unzipping the file. Firebase team can you please look into this?

mZaidSk commented 1 year ago

My node version 18.16.0, firebase v 11.29.1 is experiencing the same problem. The problem was solved by unzipping the file. Thanks @lovpankaj

christhompsongoogle commented 1 year ago

The fix for this was released in v11.30.0, see here: https://github.com/firebase/firebase-tools/releases/tag/v11.30.0

Please upgrade past this to resolve the issue and let me know if you're still encountering any issues.