Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase "Run firebase use default to activate project APP_NAME"

Tags:

firebase

It was successfully when deployed first time, now im trying to deploy again, shows an error:

Run firebase use default to activate project MY_APP_NAME 

Error:

No project active, but a project alias is available.

like image 229
Emin Hasanov Avatar asked May 23 '16 13:05

Emin Hasanov


2 Answers

When you select a project during firebase init, an alias called default is created for you. To create a new alias, run:

firebase use --add 

Then Firebase CLI will ask you

Which project do you want to add? (Use arrow keys) 

This command allows you to select a Firebase project and give it a named alias. Alias definitions are written to a .firebaserc file inside your project directory.

like image 181
Pedro Magalhães Avatar answered Sep 21 '22 07:09

Pedro Magalhães


At first should firebase use to make default alias.

After firebase use default to use default.

Then firebase deploy yahoo.. you can deploy

like image 22
Emin Hasanov Avatar answered Sep 20 '22 07:09

Emin Hasanov