Read the statement by Michael Teeuw here.
Mirror not displaying any modules
-
@SamBro2901 you did manual install?
git clone and then npm install?is this on raspian, Linux, ?
-
@SamBro2901 looks like there were two instances running. are you using pm2 to start one instance?
pm2 status will show you
-
There is already something running on port 8080. A simple solution often is to just restart your Pi. :)
-
@sdetweil I did a manual install doing
git cloneand thennpm installon raspbian and no, I haven’t used pm2 to run my instance, is that what I am doing wrong?
Also, what about the error I get when running the config check? -
@MichMich I changed the port in the config.js and it works perfectly fine now, thanks for the help and for this wonderful project :)
-
@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.logWhat 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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login