A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
MMM-CalendarExt3
-
@bicolorbore586 can you do
cd ~/MagicMirror npm run config:checkdoes it produce the same error?
also donode -c config/config.jsif it returns and displays nothing, then node did not detect any syntax errors.
edit: I can reproduce this
-
@bicolorbore586 add this to the top of config.js, very first line
var document;
I’ll open a bug report
I opened https://github.com/MagicMirrorOrg/MagicMirror/issues/3990 -
@sdetweil config:check returns the same error
The node one doesn’t produce anythingAdding var document; to the config.js gives parsing error unexpected keyword ‘var’
-
@bicolorbore586 very first line
Right? -
@sdetweil it wasn’t. Does it need to be before let config = { or the fist line after that?
-
@bicolorbore586 very first line of the file, all by itself
Before any comments
