Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

punycode deprecation warning in @nx/webpack (NX 20.3.2) #29687

Open
1 of 4 tasks
kavinrs01 opened this issue Jan 20, 2025 · 0 comments
Open
1 of 4 tasks

punycode deprecation warning in @nx/webpack (NX 20.3.2) #29687

kavinrs01 opened this issue Jan 20, 2025 · 0 comments
Assignees
Labels
scope: bundlers Issues related to webpack, rollup type: bug

Comments

@kavinrs01
Copy link

Current Behavior

When running nx serve, I'm getting a punycode deprecation warning:

(node:XXXXX) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
at require (node:internal/modules/cjs/helpers:108:18)
at Object. (.../node_modules/uri-js/index.js:XX:XX)

This is due to the dependency chain: @nx/webpack -> ajv -> uri-js -> punycode.

Expected Behavior

Need to Update the dependent package

GitHub Repo

No response

Steps to Reproduce

  1. Create/use an NX workspace (20.3.2).
  2. Add "NODE_OPTIONS": "--trace-deprecation" to the serve target in project.json.
  3. Run nx serve <your-app-name>.

Nx Report

Relevant information:
- NX version: 20.3.2
- Node.js version: 22.12.0
- npm/yarn/pnpm version: 11.0.0

Failure Logs

Package Manager Version

11.0.0

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

@AgentEnder AgentEnder added the scope: bundlers Issues related to webpack, rollup label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: bundlers Issues related to webpack, rollup type: bug
Projects
None yet
Development

No branches or pull requests

3 participants