“pm2 restart mm” works like a charm.
Latest posts made by Achatos
Hey there! I got the Mirror up and nicely running.
Now I am playing around with the config file. However I can’t seem to figure how to either update or restart the Mirror App.
I have it starting on boot. So I don’t want to reboot everytime I make a change in the config.js.
When I cd to the MagicMirror directory and type
I get this:
npm ERR! Linux 4.4.38-v7+
npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “restart”
npm ERR! node v6.9.4
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! firstname.lastname@example.org start:
npm ERR! Exit status 1
npm ERR! Failed at the email@example.com 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.