This post is deleted!
pm2 showto get more details about an app
NA-3:~ …$ pm2 start mm.sh
[PM2][ERROR] script not found : /Users/…/mm.sh
script not found : /Users/…/mm.sh
npm ERR! Darwin 13.4.0
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” "start"
npm ERR! node v6.8.0
npm ERR! npm v3.10.8
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! /Users/…/MagicMirror/npm-debug.log
@wjdw87 Make sure that you created the
mm.shscript as part of the pm2 process. Run
ls -lh ~/and see if
mm.shis one of the files.
There should be an entry that looks like this:
-rwxr-xr-x 1 pi pi 40 Oct 17 18:46 mm.sh
Thanks since worked it out, was meant to remove the topic, but thanks for answering (actually i’m currently playing on the mac, awaiting the hardware (RPi).