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.

    Magic Mirror wont start

    Scheduled Pinned Locked Moved Solved Troubleshooting
    4 Posts 2 Posters 967 Views 2 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.
    • E Offline
      everybodyfloats
      last edited by

      I cant get Magic Mirror to start…I am a novice. Im running 2019-07-10
      Raspbian Buster with desktop and recommended software. I am using this guide https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/6
      Any help is greatly aprecciated!

      pi@raspberrypi:~/MagicMirror $ npm start

      magicmirror@2.8.0 start /home/pi/MagicMirror

      sh run-start.sh

      /home/pi/MagicMirror/node_modules/electron/index.js:14

      throw new Error(‘Electron failed to install correctly, please delete node_modules/electron and try installing again’)

      ^

      Error: Electron failed to install correctly, please delete node_modules/electron and try installing again

      at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:14:11)

      at Object. (/home/pi/MagicMirror/node_modules/electron/index.js:18:18)

      at Module._compile (internal/modules/cjs/loader.js:778:30)

      at Object.Module._extensions…js (internal/modules/cjs/loader.js:789:10)

      at Module.load (internal/modules/cjs/loader.js:653:32)

      at tryModuleLoad (internal/modules/cjs/loader.js:593:12)

      at Function.Module._load (internal/modules/cjs/loader.js:585:3)

      at Module.require (internal/modules/cjs/loader.js:692:17)

      at require (internal/modules/cjs/helpers.js:25:18)

      at Object. (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16)

      npm ERR! code ELIFECYCLE

      npm ERR! errno 1

      npm ERR! magicmirror@2.8.0 start: sh run-start.sh

      npm ERR! Exit status 1

      npm ERR!

      npm ERR! Failed at the magicmirror@2.8.0 start script.

      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      npm ERR! A complete log of this run can be found in:

      npm ERR! /home/pi/.npm/_logs/2019-09-24T01_02_05_382Z-debug.log

      r $ sudo npm start

      magicmirror@2.8.0 start /home/pi/MagicMirror

      sh run-start.sh

      /home/pi/MagicMirror/node_modules/electron/index.js:14

      throw new Error(‘Electron failed to install correctly, please delete node_modules/electron and try installing again’)

      ^

      Error: Electron failed to install correctly, please delete node_modules/electron and try installing again

      at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:14:11)

      at Object. (/home/pi/MagicMirror/node_modules/electron/index.js:18:18)

      at Module._compile (internal/modules/cjs/loader.js:778:30)

      at Object.Module._extensions…js (internal/modules/cjs/loader.js:789:10)

      at Module.load (internal/modules/cjs/loader.js:653:32)

      at tryModuleLoad (internal/modules/cjs/loader.js:593:12)

      at Function.Module._load (internal/modules/cjs/loader.js:585:3)

      at Module.require (internal/modules/cjs/loader.js:692:17)

      at require (internal/modules/cjs/helpers.js:25:18)

      at Object. (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16)

      npm ERR! code ELIFECYCLE

      npm ERR! errno 1

      npm ERR! magicmirror@2.8.0 start: sh run-start.sh

      npm ERR! Exit status 1

      npm ERR!

      npm ERR! Failed at the magicmirror@2.8.0 start script.

      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      npm ERR! A complete log of this run can be found in:

      npm ERR! /root/.npm/_logs/2019-09-24T00_41_40_033Z-debug.log

      pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 npm start

      magicmirror@2.8.0 start /home/pi/MagicMirror

      sh run-start.sh

      /home/pi/MagicMirror/node_modules/electron/index.js:14

      throw new Error(‘Electron failed to install correctly, please delete node_modules/electron and try installing again’)

      ^

      Error: Electron failed to install correctly, please delete node_modules/electron and try installing again

      at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:14:11)

      at Object. (/home/pi/MagicMirror/node_modules/electron/index.js:18:18)

      at Module._compile (internal/modules/cjs/loader.js:778:30)

      at Object.Module._extensions…js (internal/modules/cjs/loader.js:789:10)

      at Module.load (internal/modules/cjs/loader.js:653:32)

      at tryModuleLoad (internal/modules/cjs/loader.js:593:12)

      at Function.Module._load (internal/modules/cjs/loader.js:585:3)

      at Module.require (internal/modules/cjs/loader.js:692:17)

      at require (internal/modules/cjs/helpers.js:25:18)

      at Object. (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16)

      npm ERR! code ELIFECYCLE

      npm ERR! errno 1

      npm ERR! magicmirror@2.8.0 start: sh run-start.sh

      npm ERR! Exit status 1

      npm ERR!

      npm ERR! Failed at the magicmirror@2.8.0 start script.

      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      npm ERR! A complete log of this run can be found in:

      npm ERR! /home/pi/.npm/_logs/2019-09-24T00_50_26_474Z-debug.log

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @everybodyfloats
        last edited by

        @everybodyfloats try my updated installer.

        Rename the MagicMirror folder out of the way first

        https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installer

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 2
        • E Offline
          everybodyfloats
          last edited by

          @sdetweil OMG it works!!! Thank you!!!

          S 1 Reply Last reply Reply Quote 1
          • S Do not disturb
            sdetweil @everybodyfloats
            last edited by sdetweil

            @everybodyfloats cool… can u mark this issue closed (3 dots to the right of the message that solves if)

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 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