Innocent Oyebode
Innocent Oyebode

Reputation: 291

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

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?

Upvotes: 1

Views: 172

Answers (2)

Chanpols
Chanpols

Reputation: 1702

Simply run:

 firebase logout

Then:

firebase login

It will ask for your project.

For reference: CLI administrative commands

Upvotes: 0

Rafael Zasas
Rafael Zasas

Reputation: 993

Run

firebase logout

And then

firebase login

Upvotes: 0

Related Questions