Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warning when initializing fern #2716

Open
atupem opened this issue Jan 22, 2024 · 6 comments
Open

Deprecation warning when initializing fern #2716

atupem opened this issue Jan 22, 2024 · 6 comments
Assignees
Labels
polish Aesthetic tweaks that are the difference between good from great. product/CLI Fern's command line interface tool

Comments

@atupem
Copy link

atupem commented Jan 22, 2024

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:

  1. Run the command fern init
  2. See error

Expected behavior

No deprecation warnings

Version

Fern Version: 0.16.36

@minaelee
Copy link
Contributor

Reproducible with Node 21
punycode deprecated in Node 21
Node LTS (20.11.0) will not show deprecation warning
See: nodejs/node#47202

@dannysheridan
Copy link
Member

@atupem if you downgrade your Node version to v20, does this get rid of the warning?

@dannysheridan dannysheridan added the product/CLI Fern's command line interface tool label Jan 25, 2024
@HLFH
Copy link

HLFH commented Aug 19, 2024

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

@zachkirsch
Copy link
Contributor

I am also seeing this

Screenshot 2024-08-26 at 11 39 58 AM

Node version: v22.6.0
Fern version: 0.39.16

@dannysheridan dannysheridan added the bug Issues reporting bugs. label Dec 14, 2024
@dannysheridan dannysheridan changed the title [Bug] Deprecation warning when initializing fern Deprecation warning when initializing fern Dec 14, 2024
@dannysheridan dannysheridan added polish Aesthetic tweaks that are the difference between good from great. and removed bug Issues reporting bugs. labels Dec 14, 2024
@dannysheridan
Copy link
Member

Confirming this is still an (annoying) deprecation notice.

Node version: v23.4.0
Fern version: 0.46.2

@dannysheridan
Copy link
Member

dannysheridan commented Dec 14, 2024

Looks like there was an attempted fix by @dsinghvi #5142 that did not remove the warning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
polish Aesthetic tweaks that are the difference between good from great. product/CLI Fern's command line interface tool
Development

No branches or pull requests

6 participants