`ng deploy` infinite setup loop
- Lingua principale
- TypeScript
- Stelle
- 7.8k
- Fork
- 2.2k
- Merge medio
- 22h 28m
- PR unite (30g)
- 6
Descrizione
### Version info
**Angular:** 18.0.3
**Firebase:** ??
**AngularFire:** 18.0.1
**Other (e.g. Ionic/Cordova, Node, browser, operating system):**
### How to reproduce these conditions
**Failing test unit, Stackblitz demonstrating the problem**
This involves running the schematics, so stackblitz doesn't help.
**Steps to set up and reproduce**
Follow the steps in [these docs](https://github.com/angular/angularfire/blob/master/docs/install-and-setup.md). I.e.:
1. `ng new the-project`, choose default options
2. `cd the-project`
3. `ng add @angular/fire` choose Performance Monitoring (I don't want any of them actually. I only want to deploy. But I had even worse luck if I chose nothing - so this is a semi-random choice.)
- At this point the doc says it should have created a `.firebaserc` file updated `angular.json`, but neither of these are true
4. `ng deploy`
- Here it asks me what to use to deploy. I choose "Firebase" and it simply loops me through the setup steps again, never deploying.
**Sample data and security rules**
### Debug output
** Errors in the JavaScript console **
None
** Output from `firebase.database().enableLogging(true);` **
I'm not running the app, so I don't think this applies.
** Screenshots **
None
### Expected behavior
I can use schematics to set up firebase hosting.
### Actual behavior
Schematics do not set up firebase hosting. Instead every time I try to deploy it loops me back through the setup process.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia leggendo docs/install-and-setup.md e riproducendo la sequenza con `ng add @angular/fire`, seguito da `ng deploy`. Confronta la configurazione prevista di `.firebaserc` e `angular.json` con il risultato riportato; il lavoro è completato quando Firebase hosting è configurato e `ng deploy` procede senza ripetere la configurazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, firebase, typescript
- Ambito
- cloud, tooling
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 46/100