1
votes

I have a react project which I'd like to deploy to Firebase Hosting (after a run build). After installing the global firebase tools ("npm i -g firebase-tools") and logged ("firebase login") in successfully, I ran the "firebase init" command and I get to the step where I can select the Firebase CLI features (please see the following image attached):

enter image description here

Now, when I'm clicking the up & down arrows on my keyboard the selector skips the second, forth and sixth option. In the next picture I clicked one arrow down on my keyboard and got straight to the functions feature instead of firestore.

enter image description here

To be clear, all I want to select is the Hosting feature. I'll be glad to have your help!

Thanks in advance! :)

3

3 Answers

2
votes

Ok guys, it turns out you can init a specific feature, without selecting a feature with the arrow keys.

I managed to solve it just by running a 'firebase init hosting' command (you can use it for all other features as well).

I hope it'll help those who will face this issue :)

0
votes

Logout and try to login with firebase login --reauth, it may fix your issue.

0
votes

Press Space key to select the correct option, then press enter to confirm.