`ng deploy` infinite setup loop
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 46/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Pouca atividade
- Stack de tecnologia
- angular, firebase, typescript
Direção de pesquisa
Comece lendo docs/install-and-setup.md e reproduzindo a sequência com ng add @angular/fire, seguida de ng deploy. Compare a configuração esperada de .firebaserc e angular.json com o resultado relatado; considera-se concluído quando o Firebase hosting estiver configurado e ng deploy prosseguir sem repetir a configuração.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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. I.e.:
ng new the-project, choose default optionscd the-projectng add @angular/firechoose 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
.firebasercfile updatedangular.json, but neither of these are true
- At this point the doc says it should have created a
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.
- Linguagem predominante
- TypeScript
- Estrelas
- 7.8k
- Forks
- 2.2k
- Merge médio
- 3d 6h
- PRs com merge (30d)
- 5
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de angular/angularfire
-
comp: build/pipeline type: bug version: current (v17+)
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
angular/angularfire#3766 ·
-
comp: schematics type: bug version: current (v17+)
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 76/100
angular/angularfire#3768 ·
-
comp: docs type: chore version: current (v17+)
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 58/100
angular/angularfire#3764 ·
-
comp: firestore comp: ssr priority: P0 (critical) type: feature version: current (v17+)
angular/angularfire#3757 · 1 responsável ·
-
Six `firebase` entry points have no `@angular/fire` equivalent, so their exports are unreachable Abertacomp: core type: feature
angular/angularfire#3755 · 1 responsável ·
Todas as issues de angular/angularfire
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
-
bug v2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
modelcontextprotocol/inspector#2458 · 1 comentário ·
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
carbon-design-system/ibm-products#9907 ·