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

(node:19882) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. #261

Closed
An0nymous0 opened this issue Oct 27, 2023 · 3 comments

Comments

@An0nymous0
Copy link

(node:19882) [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:392:7)
    at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:328: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/whatwg-url@5.0.0/node_modules/whatwg-url/lib/url-state-machine.js:2:18)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
@sobstel
Copy link

sobstel commented Oct 31, 2023

@An0nymous0 Are you sure you're running most recent version? It looks like punycode dep has been completely removed in 13.x (e89e642)

@sannajammeh
Copy link

For anyone not directly using whatwg-url, this solved it for me.

pnpm (use whichever resolve method you have)

// package.json
  "pnpm": {
    "overrides": {
      "whatwg-url": "13.0.0"
    }
  }

@domenic
Copy link
Member

domenic commented Nov 5, 2023

I cannot reproduce this issue with the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants