Firebase Initialization command "firebase init" not working | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Firebase Initialization command "firebase init" not working

? Please select an option: Use an existing project Error: Failed to list Firebase projects. See firebase-debug.log for more info.

15th Sep 2023, 7:29 AM
Asha
Asha - avatar
1 Answer
0
The fix is: firebase login --reauth If that doesn't work, you can also try logging out and logging back. It looks like when you upgrade firebase-tools, that may invalidate your auth token. You just have to log out and log back in. Following are the commands to do so: $ firebase logout $ firebase login
15th Sep 2023, 7:48 AM
Asha
Asha - avatar