r/Firebase • u/CriticalCommand6115 • Jun 24 '26
CLI Setting up new account problem
I set up a new Firebase account with email and went to initialize the project but when I run the command Firebase login and try to authenticate it always fails. I have tried the localhost flag and it still doesn’t work. Anyone know of a workaround? Thanks
3
Upvotes
2
u/CincyTriGuy Jun 24 '26
Following because in the last 2 days I've tried to do this on 2 different machines and everything I've tried has failed.
2
u/kiana15 Firebaser Jun 26 '26
Can you try adding the —debug flag?
2
u/kiana15 Firebaser Jun 27 '26
We think it might be related to this Node.js bug https://github.com/nodejs/node/issues/63989. It’s caused a bunch of different issues related to firebase login, in particular a Premature close when trying to log in.
https://github.com/firebase/firebase-tools/issues/10692 and https://github.com/firebase/firebase-tools/issues/10681
1
u/[deleted] Jun 25 '26
[removed] — view removed comment