1

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.

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

2 Comments

using this command is listing only "fir-demo-project" and no other projects
please help me in solving this issue

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.