used the amazing complete setup but after 'npm start'.....
@broberg the install of what? the entire process of the MagicMirrir?
@nem1 thanks for the feedback. My connection was OK during the installation
Yes, remove the entire magicmirror folder and run the install script again, for me the script stopped (without errors) several times,
Also, when you are trying to start it, do you try to start it via the LXterminal in the desktop environment or directly in the boot prompt?
Heretic last edited by Heretic
I get a very similar error if I’m just running at the CLI. With the GUI running NPM START (from a local terminal window) is successful, I never did get it going from CLI.
I also never got PM2 to successfully work without manually kicking it off after the gui has launched.
I’ve taken about 4 runthroughs at the install, so at this point I’ve no idea what the issue is.
pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 npm start
firstname.lastname@example.org start /home/pi/MagicMirror
npm ERR! Linux 4.4.32-v7+
npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “start”
npm ERR! node v6.9.1
npm ERR! npm v4.0.2
npm ERR! code ELIFECYCLE
npm ERR! email@example.com start:
npm ERR! Exit status 1
npm ERR! Failed at the firstname.lastname@example.org start script ‘electron js/electron.js’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the magicmirror package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! electron js/electron.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs magicmirror
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls magicmirror
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/MagicMirror/npm-debug.log
nuckinfutz last edited by
Here is what I would do as I’ve been in your shoes’
This is how I do it and I’ve done it close to 50 times.
Ignore everyone else for now. You will be starting from scratch. Again.
Go here and follow the Noobs install procedure. You want the full Noobs NOT Noobs Lite
When you boot this choose the first option (raspian) After it finishes
Dont add users or change anything else leave all defaults with the exception of the following
Make sure you set your localization, keyboard, wireless etc. by going to
Preferences -> Raspberry Pi Configuration
Open a terminal session
Your prompt should look like the following
copy and paste the following into a terminal. This is one line. accept any defaults if a question comes up.
Now Copy and paste
DISPLAY=:0 npm start dev
If you dont want the Console running omit “dev” from the end
I always start the MM using this method.
@nuckinfutz Hi. Thanks for the instructions. I’ve managed to run the MagicMirror. Now I just need to work on adjustments.
@broberg Hi. Thanks for the instructions. I’ve managed to run the MagicMirror. Now I just need to work on adjustments.