Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to init firebase in the right directory?

SEB:~ SEB$ cd /Users/SEB/Desktop/demo/polymer
SEB:polymer SEB$ firebase init

🔥🔥

You're about to initialize a Firebase project in this directory:

/Users/SEB

Just dont understand why... How can i init Firebase in my "polymer" directory ? Thank you. Sébastien

like image 410
Sebastien-Gath Avatar asked Jun 14 '17 16:06

Sebastien-Gath


People also ask

How do I change the default project in Firebase?

1 Answer. Show activity on this post. Then in the list of projects, select your project. And then finally for the alias name enter default (or whatever you entered before).


1 Answers

Check /Users/SEB for a firebase.json file and delete it if it exists. When firebase init runs it goes up the directory tree looking for a parent directory that's already initialized as a Firebase project.

like image 151
Michael Bleigh Avatar answered Dec 11 '22 07:12

Michael Bleigh