Dumb Question

  • This post is deleted!

  • Use pm2 show to 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

    Tried that…

    alt textried that…

  • alt text

  • 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! magicmirror@2.0.0 start: electron js/electron.js
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the magicmirror@2.0.0 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
    NA-3:MagicMirror …$

  • @wjdw87 Make sure that you created the mm.sh script as part of the pm2 process. Run ls -lh ~/ and see if mm.sh is 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).

Log in to reply

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.