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

The punycode module is deprecated #9022

Closed
hisreal123 opened this issue Dec 29, 2023 · 3 comments
Closed

The punycode module is deprecated #9022

hisreal123 opened this issue Dec 29, 2023 · 3 comments

Comments

@hisreal123
Copy link

Am still yet to fix the deprecation warning.

NODE_OPTIONS='--trace-deprecation' yarn info yarn description
yarn info v1.22.21
(node:105024) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
at node:punycode:3:9
at BuiltinModule.compileForInternalLoader (node:internal/bootstrap/realm:397:7)
at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:333:10)
at loadBuiltinModule (node:internal/modules/helpers:101:7)
at Module._load (node:internal/modules/cjs/loader:1001:17)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at Object. (/usr/lib/node_modules/yarn/node_modules/normalize-url/index.js:3:18)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
📦🐈 Fast, reliable, and secure dependency management.
Done in 9.40s.

i hope you can help with, or point me to the fix
Thanks

@MikeMcC399
Copy link

@hisreal123

I suggest you close this issue and subscribe to the existing issue #9013.

@RDIL
Copy link
Member

RDIL commented Jan 23, 2024

Duplicate of #9013

@RDIL RDIL marked this as a duplicate of #9013 Jan 23, 2024
@RDIL RDIL closed this as not planned Won't fix, can't repro, duplicate, stale Jan 23, 2024
@saoud77
Copy link

saoud77 commented Aug 5, 2024

By downgrading Node.js from version 22 to version 20, I was able to resolve the issue.

@yarnpkg yarnpkg locked as resolved and limited conversation to collaborators Aug 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants