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

puny code problem #9026

Closed
Samillionaire opened this issue Jan 13, 2024 · 13 comments
Closed

puny code problem #9026

Samillionaire opened this issue Jan 13, 2024 · 13 comments

Comments

@Samillionaire
Copy link

Screenshot (199)

i am getting this error --- The punycode module is deprecated. Please use a userland alternative instead. at node:punycode:3:9
server is unable to listen the changes but just keeps giving this warning how to fix it , what the alternative of this and how to install it.. in this successfully so the project doesent get affected by this.

@MikeMcC399
Copy link

@Samillionaire

What is the result of running the following as suggested by the deprecation warning?

node --trace-deprecation server.js

@Samillionaire
Copy link
Author

Samillionaire commented Jan 13, 2024 via email

@MikeMcC399
Copy link

@Samillionaire

here it is

I cannot see any log in your reply which comes from running

node --trace-deprecation server.js

@Samillionaire
Copy link
Author

Samillionaire commented Jan 13, 2024 via email

@Samillionaire
Copy link
Author

Samillionaire commented Jan 13, 2024 via email

@MikeMcC399
Copy link

@Samillionaire

@Samillionaire
Copy link
Author

Samillionaire commented Jan 13, 2024 via email

@RDIL
Copy link
Member

RDIL commented Jan 23, 2024

Duplicate of #9013

@RDIL RDIL marked this as a duplicate of #9013 Jan 23, 2024
@RDIL RDIL closed this as not planned Won't fix, can't repro, duplicate, stale Jan 23, 2024
@IgorGanapolsky
Copy link

@Samillionaire

What is the result of running the following as suggested by the deprecation warning?

node --trace-deprecation server.js

How do we use this with React Native?

@MikeMcC399
Copy link

@IgorGanapolsky

You can also set the environment variable NODE_OPTIONS, then run the command which was showing a deprecation warning. For instance:

export NODE_OPTIONS='--trace-deprecation' 

@IgorGanapolsky
Copy link

@IgorGanapolsky

You can also set the environment variable NODE_OPTIONS, then run the command which was showing a deprecation warning. For instance:

export NODE_OPTIONS='--trace-deprecation' 

Thanks, but where would I see the punycode reference from yarn build output?

@MikeMcC399
Copy link

@IgorGanapolsky

Thanks, but where would I see the punycode reference from yarn build output?

Which version of Yarn are you using?

@IgorGanapolsky
Copy link

v1.22.22

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

4 participants