Hi, I have a problem with the MMM-NOAA module. The following error is reported:
TypeError: Cannot read property ‘observation_location’ of undefined
at Request.request [as _callback] (/home/pi/MagicMirror/modules/MMM-NOAA/node_helper.js:26:49)
at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:186:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:194:7)
at Request. (/home/pi/MagicMirror/node_modules/request/request.js:1163:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:191:7)
at IncomingMessage. (/home/pi/MagicMirror/node_modules/request/request.js:1085:12)
at Object.onceWrapper (events.js:293:19)
at emitNone (events.js:91:20)
Can someone help me?
Thank you very much
did you make a
within the MMM-NOAA folder to install all the dependencies?
API key doublechecked?
Had the whole system rebuilt. Maybe I forgot this. I’ll test it this afternoon. I checked API Key several times, everything is OK
@barnosch Thanks for your tip
That was the solution. I had forgotten “npm install” during the new installation. Thank you for your help.
nice. that was easy ;)
NOAA suddenly stopped working today.
I have 2 RPI’s, on one of them I did the update I saw today.
The other one is not updated.
Both stopped working.
Anyone else with the same problem?
Or even better: a sollution?
It’s working, unless you’re receiving error messages in the terminal or console. In that case, you should post the error messages.
You could also try quitting MM and relaunching. Sometimes data can be delayed causing a module to hang.
@Mykle1 , I restarted MM and even the RPI several times.
Suddenly (after dinner) it started working again.
Thanks for your help!
I am happy again.
@Peter Glad you got it working !