Read the statement by Michael Teeuw here.
NPM RUN CONFIG:CHECK not working
-
Hi all,
I had to get a new SD for my raspberry and i am currently redoing my magic mirror. I’m having issues when trying to run Config checker, even when using the sample config. My MM starts up fine but as i start adding modules i want to be able to check it etc.
This is the error i get:
[2020-08-03 17:39:15.028] [LOG] Line 1 col 1 Definition for rule ‘prettier/prettier’ was not found.
/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.I’ve tried googling but without any luck so i’m hoping somebody on here might have some knowledge!
Thanks in advance :)
-
yes, its broken on 2.12
-
see the pinned topic at the top on Troubleshooting section for work around