am trying to install firebase authentication and it's asking for an authorization code in the cli. no matter how I check I don't see any authorization code (I have web api keys etc provided in the firebaseConfig) am I missing something obvious? here is what my steps look like in the cli:
ng add @angular/fire
Skipping installation: Package already installed
UPDATE package.json (1493 bytes)
? What features would you like to setup? Authentication
Using firebase-tools version 10.2.0
? Allow Firebase to collect CLI usage and error reporting information? No
? Enter authorization code:
CodePudding user response:
I had the same problem. I solved it by following those steps :
1/ First, you have to connect your firebase account
> firebase login
2/ Next, check if the connection is alright (you need to create your project on firebase in a first place to see it in the result)
> firebase projects:list
3/ Then, you need to initialize firebase
> firebase init
4/ And now you can add the following command
> ng add @angular/fire