Skip to content

Unexpected token < in JSON #46

@MartinS419

Description

@MartinS419

Hi, despite a second install Fresh as You described in issue #43 (comment)
I am still not getting any data, npm start results in the following error:
Unexpected token < in JSON at position 0 at JSON.parse (<anonymous>) at Request._callback (/home/pi/MagicMirror/modules/mvgmunich/node_helper.js:59:31) at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22) at Request.emit (events.js:315:20) at Request.<anonymous> (/home/pi/MagicMirror/node_modules/request/request.js:1154:10) at Request.emit (events.js:315:20) at Gunzip.<anonymous> (/home/pi/MagicMirror/node_modules/request/request.js:1076:12) at Object.onceWrapper (events.js:421:28) at Gunzip.emit (events.js:327:22) at endReadableNT (_stream_readable.js:1220:12)

A JSOn check of request.js retrieves that: Parse error on line 1: 'use strict'var ht ^ Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'

Any idea how to fix that?
Thanks

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions