(node:75956) [DEP0040] DeprecationWarning: The punycode
module is deprecated. Please use a userland alternative instead.
#500
Labels
bug
Something isn't working
I didn't see any issues referencing this deprecation, so just wanted to post a notification.
Node 21.2.0 has deprecated the
punycode
module. Since upgrading my node version to 21.2.0 I see the deprecation warning with every leapp cli command I run. This is particularly noisy in some scripts I have where multiple leapp commands are used together and each one emits the deprecation warning.Leapp Version
Additional context
This came up for me because I don't use node on my host specifically so I wasn't paying close attention to the version. I had just installed it via
brew install node
and letting it upgrade when I do my brew updates.I was able to uninstall node with
brew uninstall --ignore-dependencies node
(I needed--ignore-dependencies
because the leapp brew formula depends on) and then switching to nvm to install the lts version explicitly.The text was updated successfully, but these errors were encountered: