MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.25.0 is available! For more information about this release, check out this topic.

    Dumb Question

    Troubleshooting
    2
    6
    2284
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • ?
        A Former User last edited by

        Use pm2 show <id|name> 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…

        bhepler 1 Reply Last reply Reply Quote 0
        • ?
          A Former User last edited by

          alt text

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User last edited by

            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 …$

            1 Reply Last reply Reply Quote 0
            • bhepler
              bhepler Module Developer @Guest last edited by

              @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
              
              1 Reply Last reply Reply Quote 0
              • ?
                A Former User last edited by

                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).

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy