Can someone help me to solve this error I cannot run firebase init command before running firebase deploy.
Error: Authentication Error: Your credentials are no longer valid. Please run firebase login --reauth
For CI servers and headless environments, generate a new token with firebase login:ci
firebase init. This command will initialize your app. NOTE − If you have used a default configuration, the public folder will be created and the index. html inside this folder will be the starting point of your app. You can copy your app file inside the public folder as a workaround.
Show activity on this post. Then in the list of projects, select your project. And then finally for the alias name enter default (or whatever you entered before). For a full list of the commands, have a look at the reference documentation of the Firebase CLI.
To solve the error "'firebase' is not recognized as an internal or external command, operable program or batch file", install the firebase-tools package globally by running npm install -g firebase-tools and make sure your PATH environment variable is set up correctly.
if you are behind proxy invoke set "NODE_TLS_REJECT_UNAUTHORIZED=0"
as described here
Your credentials are not valid
All you need is to login again
Try the command firebase login --reauth
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