You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DeprecationWarning: The 'punycode' module is deprecated when running ng add @angular/fire #3649
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, check package.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/fire schematic:
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:
Activity
google-oss-bot commentedon May 7, 2025
This issue does not seem to follow the issue template. Make sure you provide all the required information.
rgant commentedon May 7, 2025
What is the (complete) output of
npm list punycode?What is the (complete) output of
ng version?Because for me,
punycodedoesn't appear to be a dependency of@angular/fire.