nodejs / node

Node.js JavaScript runtime ✨🐢🚀✨
https://nodejs.org
Other
107.68k stars 29.64k forks source link

Deprecation Warning After Node Update #55046

Closed MichaelvdVeer closed 1 month ago

MichaelvdVeer commented 1 month ago

Version

v22.9.0

Platform

No response

Subsystem

No response

What steps will reproduce the bug?

Update Node to v22.9.0. Run the command: dev": "nodemon src/index.js.

How often does it reproduce? Is there a required condition?

The issue occurs every time I start the server with the command. The warning appears specifically after updating to Node v22.9.0.

What is the expected behavior? Why is that the expected behavior?

The server should start without any warnings.

What do you see instead?

A deprecation warning appears when starting the server. (node:16998) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created)

Additional information

Are you familiar with this issue, and do you have any suggestions for resolving it?

RedYetiDev commented 1 month ago

The punycode module has been deprecated since v7.0.0.

RedYetiDev commented 1 month ago

Duplicate of #54938 (also invalid)