Open atupem opened 9 months ago
Reproducible with Node 21
punycode
deprecated in Node 21
Node LTS (20.11.0) will not show deprecation warning
See: https://github.com/nodejs/node/pull/47202
@atupem if you downgrade your Node version to v20, does this get rid of the warning?
I currently have Node v22.6.0 and I still have this warning.
And I still have it with a downgrade to node@20 with Homebrew.
fern --version
(node:15952) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
0.39.10
➜ ~ node --version
v20.16.0
I am also seeing this
Node version: v22.6.0
Fern version: 0.39.16
Describe the bug
When running
fern init
, I see the following warning:[DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead.To reproduce
Steps to reproduce the behavior:
fern init
Expected behavior
No deprecation warnings
Version
Fern Version: 0.16.36