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

nodejs, surge, DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. #519

Open
smed79 opened this issue Jan 4, 2024 · 2 comments

Comments

@smed79
Copy link

smed79 commented Jan 4, 2024

Hello!

I am seeing this Deprecation Warning with node v21.5.0 and surge v0.23.1

(node:1234) [DEP0040] DeprecationWarning: The `punycode` module is deprecated.
Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

Can we get rid of this warning message? How to fix?

@aldoyh
Copy link

aldoyh commented Apr 24, 2024

Same thing here, it's not a blocker, but it's annoying!

(node:27779) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.

@smed79
Copy link
Author

smed79 commented Apr 24, 2024

Temporarely deprecation warning workaround to disable punycode module (nodejs).

export NODE_OPTIONS="--no-deprecation"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants