vs code terminal showing deprecation warning
(node:22063) [DEP0040] DeprecationWarning: The punycode
module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ...
to show where the warning was created)
This is the issue. my OS was ubuntu 22.04. The problem cames when i am trying to use my database with mongoose. The punycode can see somewhere in my package-lock.json file. I didn't use it myself , it's coming with node.
My node version is v21.0.0 , i downgraded it into v20.9.0 then v18.18.0 still the warning is there. I installed userland module but nothing happens.
The problem i understand was the punycode is deprecated and need to use userland alternative punycode.js . But i didn't know how to make it possible.