new project not showing up Firebase CLI

qunayu picture qunayu · May 17, 2018 · Viewed 8.6k times · Source

Was recently added to a new firebase project via the web interface but it isn't showing up in firebase list. I can see the project in my firebase console. I've tried restarting my terminal, logging out/in, and doing firebase use, but no avail.

Any ideas?

Thanks.

Answer

Ronnie Royston picture Ronnie Royston · Nov 29, 2018

firebase-init first asks which features you wish to use, e.g. database, firestore, storage, etc.

If you choose firestore but have not yet enabled Firestore in your newly created Firebase project via firebase.google.com website, that project will not show up as a project option.

So, before running firebase-cli, enable all the features you want via the website first, ...before chosing those features in step 1 of firebase init.

Once you've enabled Firestore, for example, your project will now show up.