MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. jubeenshah
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    J
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Groups 0

    jubeenshah

    @jubeenshah

    2
    Reputation
    505
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    jubeenshah Unfollow Follow

    Best posts made by jubeenshah

    • RE: Error installing the magicmirror

      @cowboysdude Thanks a lot! I’ll try that and let you know about how it turns about!

      posted in Troubleshooting
      J
      jubeenshah
    • RE: Error installing the magicmirror

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

      posted in Troubleshooting
      J
      jubeenshah

    Latest posts made by jubeenshah

    • RE: Error installing the magicmirror

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

      posted in Troubleshooting
      J
      jubeenshah
    • RE: Error installing the magicmirror

      @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
      
      posted in Troubleshooting
      J
      jubeenshah
    • RE: Error installing the magicmirror

      @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
      
      posted in Troubleshooting
      J
      jubeenshah
    • RE: Error installing the magicmirror

      @cowboysdude Thanks a lot! I’ll try that and let you know about how it turns about!

      posted in Troubleshooting
      J
      jubeenshah
    • Error installing the magicmirror
      
      691 verbose lifecycle electron@1.6.8~postinstall: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/home/pi/MagicMirror/node_modules/electron/node_modules/.bin:/home/pi/MagicMirror/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
      692 verbose lifecycle electron@1.6.8~postinstall: CWD: /home/pi/MagicMirror/node_modules/electron
      693 silly lifecycle electron@1.6.8~postinstall: Args: [ '-c', 'node install.js' ]
      694 silly lifecycle electron@1.6.8~postinstall: Returned: code: 1  signal: null
      695 info lifecycle electron@1.6.8~postinstall: Failed to exec postinstall script
      696 verbose unlock done using /home/pi/.npm/_locks/staging-f4a655787a5bf4d3.lock for /home/pi/MagicMirror/node_modules/.staging
      697 silly rollbackFailedOptional Starting
      698 silly rollbackFailedOptional Finishing
      699 silly runTopLevelLifecycles Finishing
      700 silly install printInstalled
      701 warn grunt-stylelint@0.8.0 requires a peer of stylelint@^7.8.0 but none was installed.
      702 verbose If you need help, you may report this error at:
      702 verbose     <https://github.com/npm/npm/issues>
      703 warn stylelint-config-standard@16.0.0 requires a peer of stylelint@^7.8.0 but none was installed.
      704 verbose If you need help, you may report this error at:
      704 verbose     <https://github.com/npm/npm/issues>
      705 verbose stack Error: electron@1.6.8 postinstall: `node install.js`
      705 verbose stack Exit status 1
      705 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
      705 verbose stack     at emitTwo (events.js:106:13)
      705 verbose stack     at EventEmitter.emit (events.js:191:7)
      705 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:40:14)
      705 verbose stack     at emitTwo (events.js:106:13)
      705 verbose stack     at ChildProcess.emit (events.js:191:7)
      705 verbose stack     at maybeClose (internal/child_process.js:886:16)
      705 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
      706 verbose pkgid electron@1.6.8
      707 verbose cwd /home/pi/MagicMirror
      708 error Linux 4.4.21-v7+
      709 error argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "electron"
      710 error node v6.10.3
      711 error npm  v3.10.10
      712 error code ELIFECYCLE
      713 error electron@1.6.8 postinstall: `node install.js`
      713 error Exit status 1
      714 error Failed at the electron@1.6.8 postinstall script 'node install.js'.
      714 error Make sure you have the latest version of node.js and npm installed.
      714 error If you do, this is most likely a problem with the electron package,
      714 error not with npm itself.
      714 error Tell the author that this fails on your system:
      714 error     node install.js
      714 error You can get information on how to open an issue for this project with:
      714 error     npm bugs electron
      714 error Or if that isn't available, you can get their info via:
      714 error     npm owner ls electron
      714 error There is likely additional logging output above.
      715 verbose exit [ 1, true ]
      
      

      Having error installing the magic mirror and getting it to run… some help would greatly be appreciated!

      Thanks!

      posted in Troubleshooting
      J
      jubeenshah