DeprecationWarning: The 'punycode' module is deprecated when running ng add @angular/fire
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- angular, firebase, node.js, typescript
Rechercherichtung
Reproduziere die Warnung in einer neuen Angular-19-Anwendung, indem du ng add @angular/fire ausführst und Authentication, Firestore und Realtime Database auswählst. Untersuche die Installation der Abhängigkeiten und die Konfigurationsausgabe des Schematics, um die Ursache der punycode-Warnung zu identifizieren; abgeschlossen ist die Aufgabe, wenn das Setup ohne diese Deprecation-Warnung abgeschlossen wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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:
- Vorherrschende Sprache
- TypeScript
- Sterne
- 7.8k
- Forks
- 2.2k
- Ø Merge
- 3 T. 6 Std.
- Gemergte PRs (30 T.)
- 5
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus angular/angularfire
-
comp: build/pipeline type: bug version: current (v17+)
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
angular/angularfire#3766 ·
-
comp: schematics type: bug version: current (v17+)
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 76/100
angular/angularfire#3768 ·
-
comp: docs type: chore version: current (v17+)
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 58/100
angular/angularfire#3764 ·
-
comp: firestore comp: ssr priority: P0 (critical) type: feature version: current (v17+)
angular/angularfire#3757 · 1 zugewiesene Person ·
-
Six `firebase` entry points have no `@angular/fire` equivalent, so their exports are unreachable Offencomp: core type: feature
angular/angularfire#3755 · 1 zugewiesene Person ·
Alle Issues in angular/angularfire
Ähnliche Issues
-
blocklist removal
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
pastelsky/bundlephobia#1122 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100