During installation AngularFire by ng add @angular/fire I get following error
? Paste authorization code here: 1//0cpKD...
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
I try do put different code-like string from firebase site but no luck. I also try to run firebase login:ci, this generate long url, I copy it to browser and login to my google account, accept, and copy quite long token - but still no luck - it is wrong. How to get right authorization code?
What worked for me was to login to firebase.
So my steps that worked were following:
firebase login:ci and follow instructionsfirebase login -> select your account, project etc...ng add @angular/fire -> it should ask you for what account to use, instead asking for authorization codeHad this issue today, first time using Firebase.
I found following solution (which works on my macOs: Monterey):
firebase login:ci --no-localhostng add @angular/fireIf 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