I’m at the beginning of developing an Angular system. I’ve already configured Firebase in the console with what I need, verified the logged-in account with firebase-tools, and when I try to add @angular/fire
using the command ng add @angular/fire
, the hosting option does not appear.
The only options that appear are:
-
Authentication
-
Google Analytics
-
App Check
-
Firestore
-
Realtime Database
-
Cloud Function (callable)
-
Cloud Messaging
-
Performance Monitoring
-
Cloud Storage
-
Remote Config
-
VertexAi (preview)
I can’t find the option I need, which is Hosting.
I did manage to add some of these options like Authentication, Firestore, and Cloud Storage without any issues.
I’m not sure if this feature was removed or if it’s activated differently now. I’d prefer not to use firebase-tools directly; the angular/fire
library used to handle this quite well.
Versions:
-
angular: 17.3.7
-
angular/fire: 17.1.0
-
firebase: 13.10.0
-
nodejs: 20.12.2
-
npm: 10.5.0
What I’ve tried/what happened:
-
Created an Angular project.
-
Set up and configured a Firebase project.
-
Added
angular/fire
to the project usingng add @angular/fire
. -
Selected the project, account, and desired features.
-
Couldn’t find the hosting option.
What I expected:
-
Create an Angular project.
-
Set up and configure a Firebase project.
-
Add
angular/fire
to the Angular project usingng add @angular/fire
. -
Select and add all desired features (hosting, Firestore, storage, and authentication).
-
Continue developing the system.