DeprecationWarning: The `punycode` module is deprecated

When I create a new user, the terminal gives me this message: DeprecationWarning: The Punycode module is deprecated. Please use a userland alternative instead. I use Next.js v15 - Node.js v22
No description
2 Replies
Ali Alnaghmoush
Ali AlnaghmoushOP•6mo ago
Boss 🥲 https://nodejs.org/api/punycode.html In this case the issue is that, Node itself is removing this module from its API. Any library that relied on it, that you, transitively use, is triggering this warning. Are you working on solving this problem? @admin @bekacru
luksch42
luksch42•6mo ago
@Ali Alnaghmoush Have you checked in your lockfile which package uses punycode? For me it’s expo and a downgrade to node 20 fixed it temporarily until all packages fixed their deps

Did you find this page helpful?