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

Requires outdated "request" module #7

Open
berlincount opened this issue Jul 24, 2022 · 3 comments
Open

Requires outdated "request" module #7

berlincount opened this issue Jul 24, 2022 · 3 comments

Comments

@berlincount
Copy link

No description provided.

@scubasteve17
Copy link

I just installed request and it started working for me.
npm install request

@berlincount
Copy link
Author

That's a (dangerous) workaround, not a fix.

The request module has been fully deprecated, there will be no security fixes or anything else coming.

See request/request#3142

@scubasteve17
Copy link

True, it is EOL, but this is an older module and 'request' worked at the time. Though this was the only MMM that worked for me for grabbing METAR data.
Any others you recommend?
It's been a long while since I've worked with javascript, but might try to replace 'request' with 'got', based on this post:
https://nodesource.com/blog/express-going-into-maintenance-mode

I've also repurposed my RPi for something else so no urgency to test it for me.

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