NPM RUN CONFIG:CHECK not working
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.
throw new Error(“Wrong syntax in config file!”);
Error: Wrong syntax in config file!
at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! email@example.com config:check:
npm ERR! Exit status 1
npm ERR! Failed at the firstname.lastname@example.org 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