Read the statement by Michael Teeuw here.
Troubleshooting MagicMirror
-
Hi guys, First of all, i'm new in this forum and having a beginning level on this project that I would customize it on my own. - First, the installation step doesn't finish correctly using the version Debian Stretch with Raspberry Pi Desktop (Kernel version 4.9), i got the error unable to install dependencies : Check current Node installation ... Node currently installed. Checking version number. Minimum Node version: v5.1.0 Installed Node version: v8.11.1 No Node.js upgrade necessary. Cloning MagicMirror ... Cloning into 'MagicMirror'... remote: Enumerating objects: 282, done. remote: Counting objects: 100% (282/282), done. remote: Compressing objects: 100% (251/251), done. remote: Total 282 (delta 34), reused 127 (delta 21), pack-reused 0 Receiving objects: 100% (282/282), 385.56 KiB | 0 bytes/s, done. Resolving deltas: 100% (34/34), done. Cloning MagicMirror Done! Installing dependencies ... bash: line 112: npm: command not found Unable to install dependencies! Can I get some help from u guys? Thank you all -
@oththegentel delete the Magic Mirror Folder and download it again I had similar on my pi and it installed the dependence’s after that
-
@dazza120 thank you for your response.
I renamed the folder and tried to install it again same error.
Actually, i just downloaded the latest version of node and trying to install it but it takes a lot of time (waiting for headers (connection failed IP 173.209.xx.xx:80))
Did you had the same thing? Can i just stop interrupt and go with the manual install instead of automatic?? -
@oththegentel delete the folder and do the manual method I’m not sure if pm2 start mm work doing it that method, ie when you reboot it I did put the pm2 script in a thread on the site that worked for me, so use the manual method then reboot and see if the mirror comes back online if not look for pm2 restart
If PM2 gives you trouble use https://forum.magicmirror.builders/topic/8987/pm2-error/13 -
@oththegentel your pi up to date? Get all updates for the pi and try again
-
@oththegentel - You can install over top of a busted installation. Any attempts to install dependencies that you already have in place will automatically be intercepted and you’ll see a message saying that there’s nothing to install.
It sure sounds like Node didn’t install correctly. The connection issue is probably on their end (I’m assuming your local network isn’t in the 173.209.xxx.xxx range). This is most likely temporary and once someone notices, they’ll get it back up & running. Keep trying!
-
@dazza120 Perfect thanks a lot man it’s working now.
So the next step, i copied the file /home/pi/MagicMirror/config/config.js.sample to /home/pi/MagicMirror/config/config.js
Do I have to modify the script in config.js or go to inside each folder in modules and customize them? -
@bhepler Thanks for your help, it’s working now. I deleted the folder and installed it with the manual method :thumbs_up:
-
Do I have to modify the script in config.js or go inside each folder in modules and customize them?
-
@oththegentel said in Troubleshooting MagicMirror:
Do I have to modify the script in config.js or go inside each folder in modules and customize them?
You should only make changes to your config.js when adding or removing the modules you want to display. It is not recommended that you modify the module files.
-
@Mykle1 Thank you for your answer.
-
You’re welcome, mate.
You might want to read this simple guide if you are unsure about adding modules to your config.js file.
https://forum.magicmirror.builders/topic/4231/how-to-add-modules-for-absolute-beginners
-
Is there any way to get an overview when I’m editing the config.js file
I tried a web access to pi’s ip address and port from another computer on the same network but it’s not working even if i specified the ip address of pi in address section and allowed all ip addresses in ipwhitelist section!! -
This is not working for you?
var config = { address: "localhost", port: 8080, ipWhitelist: [], -
@mykle1 unfortunately not.
I put the wlan0 ip address of my pi instead of localhost and it’s not working neither. -
-
@mykle1 Nope even locally
I’ll scan all my ports and check if 8080 is already used -
@oththegentel enable VNC and patch in using that, I’m doing changes on my phone using that method it’s not the best given the screen size normally I do adjustments on the Mac when I can be bothered to boot it up, last minute changes are done on the phone.
-
@oththegentel It sounds like your MagicMirror instance is not running.
How did you start MagicMirror, do you havepm2installed?
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