6

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

Community
  • 1
  • 1
Serdar
  • 478
  • 3
  • 11

4 Answers4

6

if you are behind proxy invoke set "NODE_TLS_REJECT_UNAUTHORIZED=0" as described here

yohayco
  • 119
  • 2
  • 4
2

Your credentials are not valid All you need is to login again Try the command firebase login --reauth

0

For such Authentication Error from Firebase CLI.

Do the below steps:

 1. firebase logout
 2. firebase login
 3. Once the URL opens, go to Google account and remove access which was already given to firebase app distribution ["Remove Access"]
 4. Come back to the URL window and select Allow
 5. Should result in a successful login

Even after this repeatedly getting Firebase login CLI issue - suggest restart your system and do firebase login again

Hope this helps!

Sumit
  • 874
  • 9
  • 10
0

Please try this command

set "NODE_TLS_REJECT_UNAUTHORIZED=0"

and then re-run,

firebase login
Ameya Marathe
  • 141
  • 1
  • 3