Heena
Heena

Reputation: 1773

Using Firebase Hosting to deploy the angular application

I have created a simple application in Angular2("angular-material"). I am trying to deploy the application using Firebase Hosting.

Initially I started with "npm install" and served my application successfully using "ng s".

Next from within my Angular2 application("angular-material") I started with typing the command "firebase login" and I successfully logged in through my google account.

Then I tried to build my app using "ng build" command. And it was successful.

Then I tried "firebase init" command as shown below

enter image description here

But when I proceed further with the Hosting option , I am unable to get my application in the listing from where I can select my project for Hosting.

Can anybody please help me to resolve this issue.

Upvotes: 1

Views: 252

Answers (1)

Tushar Acharekar
Tushar Acharekar

Reputation: 900

Use this command firebase use --add for listing Your Project.

Upvotes: 1

Related Questions