Read the statement by Michael Teeuw here.
Mirror won't start...
-
Hello, I’ve been following you all for a while, you guys have impressive skills…
I’ve updated everything, node, npm, etc…
When I try to
Pm2 start MagicMirror
It shows that status:enabled and mode: fork
But nothing pops up, no mirror!Can someone please guide me?
Thank you
-
@amosh83 said in Mirror won’t start...:
Pm2 start MagicMirror
In a terminal window did you go the MagicMirror directory and try ‘npm start’?
-
pi@raspberrypi:~/MagicMirror $ npm start
magicmirror@2.1.2 start /home/pi/MagicMirror
sh run-start.shrun-start.sh: 4: run-start.sh: electron: not found
npm ERR! Linux 4.9.28+
npm ERR! argv “/home/pi/.nvm/versions/node/v7.4.0/bin/node” “/home/pi/.nvm/versions/node/v7.4.0/bin/npm” “start”
npm ERR! node v7.4.0
npm ERR! npm v4.0.5
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! magicmirror@2.1.2 start:sh run-start.sh
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the magicmirror@2.1.2 start script ‘sh run-start.sh’.
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! sh run-start.sh
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
pi@raspberrypi:~/MagicMirror $ -
This is what happens when I input " pm2…"
pi@raspberrypi:~/MagicMirror $ pm2 start MagicMirror
[PM2] Applying action restartProcessId on app [MagicMirror](ids: 0)
[PM2] MagicMirror ✓
[PM2] Process successfully started
┌─────────────┬──────┬────────┬────┬─────┬───────────┐
│ Name │ mode │ status │ ↺ │ cpu │ memory │
├─────────────┼──────┼────────┼────┼─────┼───────────┤
│ MagicMirror │ fork │ online │ 52 │ 36% │ 14.2 MB │
└─────────────┴──────┴────────┴────┴─────┴───────────┘
Usepm2 show
to get more details about an app -
@amosh83 said in Mirror won’t start...:
sh run-start.sh
I don’t do PM2 so I can’t really help you there… BUT did you run npm install in the MagicMirror dir?
-
How did you Install MM?