DeprecationWarning: The 'punycode' module is deprecated when running ng add @angular/fire
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- angular, firebase, node.js, typescript
Direção de pesquisa
Reproduza o aviso em uma nova aplicação Angular 19 executando ng add @angular/fire e selecionando Authentication, Firestore e Realtime Database. Inspecione a instalação das dependências e a saída de configuração do schematic para identificar a origem do aviso de punycode; considera-se concluído quando a configuração termina sem esse aviso de depreciação.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
DeprecationWarning: The 'punycode' module is deprecated when running ng add @angular/fire
Description:
When adding @angular/fire to a new Angular 19 application using the ng add @angular/fire schematic, a DeprecationWarning related to Node.js's punycode module is displayed.
Versions:
- Angular CLI: (Please specify, e.g.,
19.x.x) - Angular Core: (Please specify, e.g.,
19.x.x) - @angular/fire: (Please specify the version installed by
ng add, checkpackage.json) - Node.js: (Please specify, e.g.,
v18.x.x,v20.x.x) - firebase-tools:
14.2.2(as per the log)
Steps to Reproduce:
- Create a new Angular 19 application:
ng new my-angular-app cd my-angular-app - Run the
ng add @angular/fireschematic:ng add @angular/fire - During the installation and setup process, select the following Firebase features when prompted:
- Authentication
- Firestore
- Realtime Database
Expected Behavior:
The ng add @angular/fire schematic should complete without displaying deprecation warnings related to Node.js modules.
Current Behavior:
During the execution of the schematic, after selecting Firebase features and while dependencies are being installed or files are being configured, the following warning appears in the console:
- 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 84/100
bcgov/bc-wallet-mobile#4761 · 1 comentário ·
-
external-issue to-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
-
area-deployment area-integrations triage:bot-seen
Dificuldade 2/5 Meio dia Facilidade para iniciantes 86/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
-
refactor
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100