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

"[DEP0040] The punycode module is deprecated" with Node.js 21.x #432

Closed
4 of 6 tasks
AnYiEE opened this issue Dec 4, 2023 · 1 comment
Closed
4 of 6 tasks

"[DEP0040] The punycode module is deprecated" with Node.js 21.x #432

AnYiEE opened this issue Dec 4, 2023 · 1 comment
Labels
bug Something isn't working outdated pending triage

Comments

@AnYiEE
Copy link

AnYiEE commented Dec 4, 2023

Acknowledgements

  • I searched existing issues before opening this one to avoid duplicates
  • I understand this is not a place for seek help, but to report a bug
  • I understand that the bug must be proven first with a minimal reproduction
  • I will be polite, respectful, and considerate of people's time and effort

Minimal reproduction URL

yarnpkg/yarn#9005

Version

v4.6.2

Node.js version

v21.3.0

Package manager

pnpm

Operating system

Windows

Problem & Expected behavior

Please refer to yarnpkg/yarn#9005, is the same as situation.

Contributions

  • I plan to open a pull request for this issue
  • I plan to make a financial contribution to this project
@AnYiEE AnYiEE added bug Something isn't working pending triage labels Dec 4, 2023
@AnYiEE AnYiEE closed this as completed Dec 4, 2023
@AnYiEE
Copy link
Author

AnYiEE commented Dec 4, 2023

This is an error message. It seems to be a problem with the psl package, sorry for any inconvenience caused.

(node:10880) [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:401:7)
    at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:337: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.<anonymous> (node_modules\.pnpm\[email protected]\node_modules\psl\index.js:5:16)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Object.S (node_modules\.pnpm\[email protected]\node_modules\tsx\dist\cjs\index.cjs:1:1292)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working outdated pending triage
Projects
None yet
Development

No branches or pull requests

1 participant