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 wont even start

    Scheduled Pinned Locked Moved Troubleshooting
    2 Posts 2 Posters 1.4k 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.
    • C Offline
      CowTusks
      last edited by

      Just got a raspberry pi 3 Model B. I have no idea what I’m doing. I’ve tried following multiple tutorials and other forms to try and solve various things on my own. At this point I feel completely stuck and have to ask for help. When trying npm start I get an error. I believe I’ve correctly updated NPM and Node but I could be wrong. Like I said, I have no idea what I’m doing so ELI5 please! Thank You :)

      pi@raspberrypi:~/MagicMirror $ npm start
      npm WARN npm npm does not support Node.js v5.12.0
      npm WARN npm You should probably upgrade to a newer version of node as we
      npm WARN npm can’t make any promises that npm will work with this version.
      npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8.
      npm WARN npm You can find the latest version at https://nodejs.org/

      magicmirror@2.1.3 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:413:34)
      at Object.Module._extensions…js (module.js:422:10)
      at Module.load (module.js:357:32)
      at Function.Module._load (module.js:314:12)
      at Module.require (module.js:367: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:413:34)
      at Object.Module._extensions…js (module.js:422:10)
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.1.3 start: sh run-start.sh
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the magicmirror@2.1.3 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-11-04T09_24_59_245Z-debug.log

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

        The only tutorial supported here is this one.
        https://forum.magicmirror.builders/topic/236/complete-setup-tutorial

        Your node is not up to date for MM. Node should be somewhere in the area of v6.11.x and npm 3.10.10.

        This error: “Error(‘Electron failed to install correctly, please delete node_modules/electron and try installing again’)” is telling you to delete the electron folder. Then you would run npm install again in the MagicMirror directory. Then you would run npm start in the MagicMirror directory.

        Create a working config
        How to add modules

        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