You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Whenever I run a fern command on my local system, I get the following message in my terminal.
fern check
(node:96209) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
Describe the solution you'd like
I'd like this to go away.
Describe alternatives you've considered
I suspect it's related to using the newest version of Node.js. v21.1.0
Additional context
The trace I see shows that the deprecation warning originates from the whatwg-url module, specifically from its usage of the punycode module.
The warning is triggered by code in the whatwg-url module, as indicated by the path whatwg-url/lib/url-state-machine.js and whatwg-url/lib/URL-impl.js.
The specific lines in the fern-api bundle where this occurs are mentioned (bundle.cjs:369261 and bundle.cjs:370331).
[ACTION]
Update Dependencies: Check if there is an updated version of whatwg-url that doesn't use the deprecated punycode module. Updating these dependencies might resolve the warning in the CLI.
The text was updated successfully, but these errors were encountered:
This is related to two transitive dependencies (that we cannot remove) relying on node-fetch v2. For now, the best thing would be to not use node v21 to get rid of the error message. Thats what others are also advising: forcedotcom/cli#2535
Is your feature request related to a problem? Please describe.
Whenever I run a fern command on my local system, I get the following message in my terminal.
Describe the solution you'd like
I'd like this to go away.
Describe alternatives you've considered
I suspect it's related to using the newest version of Node.js.
v21.1.0
Additional context
The trace I see shows that the deprecation warning originates from the
whatwg-url
module, specifically from its usage of the punycode module.The warning is triggered by code in the whatwg-url module, as indicated by the path whatwg-url/lib/url-state-machine.js and whatwg-url/lib/URL-impl.js.
The specific lines in the fern-api bundle where this occurs are mentioned (bundle.cjs:369261 and bundle.cjs:370331).
[ACTION]
Update Dependencies: Check if there is an updated version of whatwg-url that doesn't use the deprecated punycode module. Updating these dependencies might resolve the warning in the CLI.
The text was updated successfully, but these errors were encountered: