MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Mirror won't start...

    Scheduled Pinned Locked Moved Troubleshooting
    6 Posts 3 Posters 3.7k Views 3 Watching
    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 Offline
      amosh83
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • cowboysdudeC Offline
        cowboysdude Module Developer
        last edited by cowboysdude

        @amosh83 said in Mirror won’t start...:

        Pm2 start MagicMirror

        In a terminal window did you go the MagicMirror directory and try ‘npm start’?

        1 Reply Last reply Reply Quote 0
        • A Offline
          amosh83
          last edited by

          pi@raspberrypi:~/MagicMirror $ npm start

          magicmirror@2.1.2 start /home/pi/MagicMirror
          sh run-start.sh

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

          1 Reply Last reply Reply Quote 0
          • A Offline
            amosh83
            last edited by

            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 │
            └─────────────┴──────┴────────┴────┴─────┴───────────┘
            Use pm2 show to get more details about an app

            1 Reply Last reply Reply Quote 0
            • cowboysdudeC Offline
              cowboysdude Module Developer
              last edited by

              @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?

              1 Reply Last reply Reply Quote 0
              • RamblingGeekUkR Offline
                RamblingGeekUk
                last edited by

                How did you Install MM?

                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 Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy