MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    UNSOLVED Error Installing Dependecies

    Troubleshooting
    installing dependecies error problem
    2
    4
    6138
    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.
    • ferra1980
      ferra1980 last edited by paviro

      Hi all,
      I’m trying to install MagicMirror2 on a Pi2 but using the Automatic Installer, everythings goes well until the process reach the step “Installing dependencies”. I get this error:

      Installing dependencies ...
      npm WARN prefer global coffee-script@1.10.0 should be installed with -g
      npm WARN prefer global colorguard@1.2.0 should be installed with -g
      
      > electron-prebuilt@1.1.0 postinstall /root/MagicMirror/node_modules/electron-prebuilt
      > node install.js
      
      module.js:440
          throw err;
          ^
      
      Error: Cannot find module '/root/MagicMirror/node_modules/electron-prebuilt/install.js'
          at Function.Module._resolveFilename (module.js:438:15)
          at Function.Module._load (module.js:386:25)
          at Function.Module.runMain (module.js:575:10)
          at startup (node.js:160:18)
          at node.js:445:3...
      
      ...
      npm ERR! Linux 4.4.9-v7+
      npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
      npm ERR! node v6.1.0
      npm ERR! npm  v3.8.6
      npm ERR! code ELIFECYCLE
      
      npm ERR! electron-prebuilt@1.1.0 postinstall: `node install.js`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the electron-prebuilt@1.1.0 postinstall script 'node install.js'.
      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 electron-prebuilt package,
      npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR!     node install.js
      npm ERR! You can get information on how to open an issue for this project with:
      npm ERR!     npm bugs electron-prebuilt
      npm ERR! Or if that isn't available, you can get their info via:
      npm ERR!     npm owner ls electron-prebuilt
      npm ERR! There is likely additional logging output above.
      
      npm ERR! Please include the following file with any support request:
      npm ERR!     /root/MagicMirror/npm-debug.log
      Unable to install dependencies!
      root@raspberrypi:~# npm install
      

      Someone can help me?


      Note from admin: Please use Markdown on your code snippets so they are easier to read!

      1 Reply Last reply Reply Quote 0
      • MichMich
        MichMich Admin last edited by

        What OS are you running? What Node version are you running (if the installer didn’t update)?

        1 Reply Last reply Reply Quote 0
        • ferra1980
          ferra1980 last edited by paviro

          Hi Mich,
          thanks for your help!
          I’m running the last version of Raspbian Jessie, Version: May 2016, Release date: 2016-05-10, Kernel version: 4.4, and the update of Node was a success (It’s the first step of the automatic intallation, right?)

          1 Reply Last reply Reply Quote 0
          • MichMich
            MichMich Admin last edited by

            Interesting. Could you give https://github.com/electron/electron-quick-start a try to see if that one works?

            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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy