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

Uncaught Exception preventing METAR data from displaying #1471

Closed
martyg33 opened this issue Nov 28, 2018 · 2 comments
Closed

Uncaught Exception preventing METAR data from displaying #1471

martyg33 opened this issue Nov 28, 2018 · 2 comments

Comments

@martyg33
Copy link

Platform: Raspberry Pi 3

Node Version: node 2.5.0

MagicMirror Version: v2-beta (unsure)

Description:: Unable to load METAR data, even though it has been downloaded. Mirror starts and runs fine, but the Aviation module simply does not populate. This is the error I am getting:

FAA data found for KMSP
Whoops! There was an uncaught exception...
SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at Request._callback (/home/pi/MagicMirror/modules/MMM-aviationwx/node_helper.js:60:48)
at Request.self.callback (/home/pi/MagicMirror/modules/node_modules/request/request.js:185:22)
at emitTwo (events.js:126:13)
at Request.emit (events.js:214:7)
at Request. (/home/pi/MagicMirror/modules/node_modules/request/request.js:1161:10)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at IncomingMessage. (/home/pi/MagicMirror/modules/node_modules/request/request.js:1083:12)
at Object.onceWrapper (events.js:313:30)
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues

Any help or direction you can provide is greatly appreciated.

@martyg33
Copy link
Author

Node Version is v9.11.1

@MichMich
Copy link
Collaborator

Please open a issue in the MMM-aviationwx repository. Thanks.

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