I'm using $firebase deploy
to upload my static files to my newly created firebase project, but I get the following error in the command line.
Unable to authorize access to project project-1234567890
The error message goes on to mention the Firebase CLI is only compatible with the new Firebase Console, which is what I'm using.
I've signed in earlier, so I believe I should have access to the project I've created in the console.
Try running this after you go through your firebase init
firebase use --add
From there you can select your instance, for example: your-project-name-instance
I had the same issue, and running that command and selecting the instance allowed me to do the deploy.
I solved my problem with the following steps:
Then I again ran:
firebase init
Then I chose my default project.
Type these commands:
firebase login
Login with your email that content your Firebase project
Choose the name of your project
firebase deploy
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With