Home > Software engineering >  How do I set up firebase in a react project to connect to the right firebase console account?
How do I set up firebase in a react project to connect to the right firebase console account?

Time:10-10

I am working on a react project in VS Code but whenever I try to connect to firebase functions using the 'firebase init' command, it does not show the right project in my email. It's showing a project in another email of mine.

I cannot remember how or when I linked the project to connect to the email from where it is currently showing projects.

How do I correct my project configuration to connect to the right firebase account so that it can pick the right project?

CodePudding user response:

Run

firebase logout

And then

firebase login
  • Related