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

This module suddenly stopped working the other day. #2

Open
mishmanPi opened this issue Apr 17, 2024 · 5 comments
Open

This module suddenly stopped working the other day. #2

mishmanPi opened this issue Apr 17, 2024 · 5 comments

Comments

@mishmanPi
Copy link

This module has been working fine up unitl a few days ago. Now all that is displayed in the stocks I follow are dashes and no update timestamp is listed. Is it possible the url has changes for the yahoo stocks page used in the module?

@thess
Copy link
Owner

thess commented Apr 17, 2024

All I can say at-the-moment is that the MktIndex is working here. If you could check any MM logs available (I use pm2 - log is located in: ~/.pm2/logs/MagicMirror-error.log) to see where things are failing for you.

Apparently, Yahoo has changed the access to their API/site and you may be affected by it. See discussions here:

gadicc/node-yahoo-finance2#764
https://www.npmjs.com/package/yahoo-finance2

I don't know why my installation has been working -- perhaps due to no software updates done since things have been running OK with yahoo-finance2 v2.4.2. I don't know if there is anything I can do.

@thess
Copy link
Owner

thess commented Apr 17, 2024

I upgraded the yahoo-finance2 dependency to the latest (v2.11.2). See if that fixes your issue.

@mishmanPi
Copy link
Author

Ted, I swapped out the package.json file with your updated version and the Stock data is still not displaying,

@thess
Copy link
Owner

thess commented Apr 18, 2024

Need some logging info... If you set debug: true, in your config.js for the MMM-MktIndex module, you will get some additional output.

Also, after copying the package.json file, did you execute $ npm install to update module?

@mishmanPi
Copy link
Author

I forgot to update the module and after doing that it works now.
Thank you very much for the prompt fix to your awesome module.

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