It seems that this error occurs only with the latest version of MM.
We found no solution yet.
I’ll keep you updated!
It seems that this error occurs only with the latest version of MM.
We found no solution yet.
I’ll keep you updated!
Hey there again,
i tried to reproduce the error.
Sometimes it occurs, sometimes not. I didn’t really find a reason.
This is what the server says:
Whoops! There was an uncaught exception…
SyntaxError: Unexpected token u in JSON at position 0
at Request._callback (/home/pi/MagicMirror/modules/MMM-SoccerLiveScore/node_helper.js:188:29)
at self.callback (/home/pi/MagicMirror/node_modules/request/request.js:186:22)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at Request.onRequestError (/home/pi/MagicMirror/node_modules/request/request.js:845:8)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.socketErrorListener (_http_client.js:308:9)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:188:7)
Hope it helps!
Hey guys,
thanks for your reply djbosman.
I think the problem you mentioned is caused by an error in the API.
Well in fact I’m getting the same one.
djbosman:
Can u start the mirror over console, navigating to the directory of MagicMirror and typing ‘npm start dev’?
The mirror should show up with a dev-tool on the right.
Look whether there is some red colored text.
If so:
post it here.
If not:
press CTRL+Q to stop the mirror.
In the console look out for errors. If I’m right then you should see something like "… unexpected character in JSON … ". That error will be helpful. Try copy and paste it here. (Mark the text, right click, copy).
Thanks for your help!