Read the statement by Michael Teeuw here.
Changing compliments
-
Okay! It’s coming together for me. I’m catching a couple more syntax errors. I’ll keep proofing to see if I catch more.
-
@KC5RIL general rules for the value to the right of :
numbers and true/false, no quotes,
otherwise needs quotes, doesn’t matter which as long as they are matched.be careful on quotes, these curly ones " ’
are no good, but these text mode are
ok"'
also if the next line starts with a word, then this line needs a trailing comma
-
@sdetweil I’ve proofed all I can. I don’t see anymore syntax errors. Still won’t run properly. Here’s the config:check ```
pi@WALL-e:~/MagicMirror $ npm run config:checkmagicmirror@2.12.0 config:check /home/pi/MagicMirror
node js/check_config.js[2020-08-19 21:11:52.797] [INFO] Checking file… /home/pi/MagicMirror/config/config.js
[2020-08-19 21:11:52.858] [LOG] Line 194 col 3 Parsing error: Unexpected token {
/home/pi/MagicMirror/js/check_config.js:66
throw new Error(“Wrong syntax in config file!”);
^Error: Wrong syntax in config file!
at /home/pi/MagicMirror/js/check_config.js:66:10
at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! magicmirror@2.12.0 config:check:node js/check_config.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the magicmirror@2.12.0 config:check script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2020-08-20T02_11_52_899Z-debug.log -
EUREKA!
The error message at start was bothering me. Figured it out with some playing around. needed a ‘}’ at 195. Problem solved.
Thanks for ya’lls help. I’ll more than likely pester you again with more issues. Have your crayons ready!
-