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

Getting Deprecation Warning while running the project #9

Closed
HaroldObasi opened this issue Nov 21, 2023 · 1 comment
Closed

Getting Deprecation Warning while running the project #9

HaroldObasi opened this issue Nov 21, 2023 · 1 comment

Comments

@HaroldObasi
Copy link

I am running a python websocket server with ocpp, its running on port 9000

i followed the installation docs for this project but when i run the project with yarn start ws:://0.0.0.0:9000/, i get this :

[info] Starting charger simulator { csURL: 'ws:://0.0.0.0:9000/', connectorId: 1, chargerId: 'test', idTag: '12345678' }

Charger simulator starting (node:73090) [DEP0040] DeprecationWarning: Thepunycodemodule is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created)

not sure if it's my server, or if maybe it is from the deprecation warning

@vasyas
Copy link
Owner

vasyas commented Nov 22, 2023

Hey @HaroldObasi !

This warning is caused by using classic Yarn in NodeJS 21+

To fix, downgrade NodeJS to the previous version or wait until they release a fix for Yarn, as described in yarnpkg/yarn#9005.

It's also should be safe to just ignore this warning.

@vasyas vasyas closed this as completed Nov 22, 2023
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