Skip to content

DeprecationWarning: The 'punycode' module is deprecated when running ng add @angular/fire #3649

Open

Description

@damiansire

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.

Image

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:

  1. Create a new Angular 19 application:
    ng new my-angular-app
    cd my-angular-app
  2. Run the ng add @angular/fire schematic:
    ng add @angular/fire
  3. 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:

Image

Activity

  1. google-oss-bot commented on May 7, 2025

    @google-oss-bot

    This issue does not seem to follow the issue template. Make sure you provide all the required information.

  2. rgant commented on May 7, 2025

    @rgant

    What is the (complete) output of npm list punycode?

    What is the (complete) output of ng version?

    Because for me, punycode doesn't appear to be a dependency of @angular/fire.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions