Read the statement by Michael Teeuw here.
Mirror not displaying any modules
-
@SamBro2901 I’m getting this same error. What did you change the port to?
-
@ktvoort123 pick a port, add one or 10, or 100.
-
Same here.
@MichMich this started after I updated my Raspbian to the latest, and now getting this error that I cannot resolve:> node js/check_config.js [2020-07-23 17:51:02.700] [INFO] Checking file... /home/pi/MagicMirror/config/config.js [2020-07-23 17:51:03.283] [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)
I’d appreciate an advise.
Thank you.
-
@Eric_H config:check hasn’t worked as of 2.12.
Gonna have to manually run through for now.
-
@BKeyport Thank you
-
@SamBro2901 did u install w my script? or manually?
the already in use means something else on your system is using the networking setup mm needs.
maybe u have another instance running…
dopm2 status
-
@SamBro2901 do this
sudo netstat -a | grep 8080
-
Hi,
same here. Rebooted RasPi many times, changed port in config file to 9080 but mirror is not displaying anything.
Output is still the same:
pi@magicmirror:~/MagicMirror $ npm run config:check > magicmirror@2.12.0 config:check /home/pi/MagicMirror > node js/check_config.js [2020-08-07 09:53:37.955] [INFO] Checking file... /home/pi/MagicMirror/config/config.js [2020-08-07 09:53:38.247] [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. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-08-07T07_53_38_325Z-debug.log
What else can I try?
-
@itx config:check is broken
what is the original error from npm start?
-
@itx see the pinned topic at the top on this subject area for the temp fix to config:check