yarnpkg / yarn

The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry
https://classic.yarnpkg.com
Other
41.37k stars 2.72k forks source link

The `punycode` module is deprecated #9022

Closed hisreal123 closed 5 months ago

hisreal123 commented 5 months ago

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 commented 5 months ago

@hisreal123

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

RDIL commented 5 months ago

Duplicate of #9013