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.

    Error installing the magicmirror

    Scheduled Pinned Locked Moved Troubleshooting
    8 Posts 3 Posters 4.6k 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.
    • J Offline
      jubeenshah @cowboysdude
      last edited by

      @cowboysdude I tried again following the steps… but then in the end it again showed me errors regarding installing dependencies…

      I believe two in particular…

      npm WARN prefer global coffee-script@1.10.0 should be installed with -g
      npm WARN prefer global jsonlite@1.6.2 should be installed with -g
      > electron-chromedriver@1.7.1 install/jome/pi/MagicMirror/node_modules/electron-chromedriver
      > node ./download-chromedriver.js
      
      1 Reply Last reply Reply Quote 0
      • J Offline
        jubeenshah @cowboysdude
        last edited by

        @cowboysdude

        > magicmirror@2.1.1 start /home/pi/MagicMirror
        > sh run-start.sh
        
        /home/pi/MagicMirror/node_modules/electron/index.js:9
          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 Object. (/home/pi/MagicMirror/node_modules/electron/index.js:9:9)
            at Module._compile (module.js:570:32)
            at Object.Module._extensions..js (module.js:579:10)
            at Module.load (module.js:487:32)
            at tryModuleLoad (module.js:446:12)
            at Function.Module._load (module.js:438:3)
            at Module.require (module.js:497:17)
            at require (internal/module.js:20:19)
            at Object. (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16)
            at Module._compile (module.js:570:32)
        npm ERR! code ELIFECYCLE
        npm ERR! errno 1
        npm ERR! magicmirror@2.1.1 start: `sh run-start.sh`
        npm ERR! Exit status 1
        npm ERR! 
        npm ERR! Failed at the magicmirror@2.1.1 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/2017-05-18T13_11_39_986Z-debug.log
        
        1 Reply Last reply Reply Quote 0
        • J Offline
          jubeenshah @cowboysdude
          last edited by

          @cowboysdude Nevermind bro… I solved it on my own and it worked out… Thanksss a lot brother

          cowboysdudeC Mykle1M 2 Replies Last reply Reply Quote 1
          • cowboysdudeC Offline
            cowboysdude Module Developer @jubeenshah
            last edited by

            @jubeenshah Glad you got it.

            1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @jubeenshah
              last edited by

              @jubeenshah said in Error installing the magicmirror:

              I solved it on my own and it worked out…

              Perhaps you’ll post how you solved the issue so others might benefit if they have the same issue. :-)

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 1
              • 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