MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    [SOLVED] Autoinstall failed at script node download-chromedriver.js

    Troubleshooting
    installing dependecies installation autoinstall electron-chromedriver electron
    2
    3
    3185
    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.
    • P
      Projekt95 last edited by Projekt95

      Hi there!
      I’m currently trying to install MM with the autoinstaller on my Pi 3 with the newest Raspbian version with Pixel, but the install fails at

      electron-chromedriver@1.6.0 install `node ./download-chromedriver.js
      

      Node.JS (v6.10.2) and npm (v4.5.0) are installed

      Here’s some code from the log:

      87045 silly install electron-chromedriver@1.6.0
      87046 info lifecycle electron-chromedriver@1.6.0~install: electron-chromedriver@1.6.0
      87047 verbose lifecycle electron-chromedriver@1.6.0~install: unsafe-perm in lifecycle false
      87048 verbose lifecycle electron-chromedriver@1.6.0~install: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/root/MagicMirror/node_modules/electron-chromedriver/node_modules/.bin:/root/MagicMirror/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
      87049 verbose lifecycle electron-chromedriver@1.6.0~install: CWD: /root/MagicMirror/node_modules/electron-chromedriver
      87050 silly lifecycle electron-chromedriver@1.6.0~install: Args: [ '-c', 'node ./download-chromedriver.js' ]
      87051 silly lifecycle electron-chromedriver@1.6.0~install: Returned: code: 1  signal: null
      87052 info lifecycle electron-chromedriver@1.6.0~install: Failed to exec install script
      

      Does anyone know hot to fix this? 🙂

      Greets /me

      1 Reply Last reply Reply Quote 0
      • J
        joachimt last edited by

        Sorry, no solution, I have the same problem !

        1 Reply Last reply Reply Quote 0
        • P
          Projekt95 last edited by

          With the help of another User on Github we found out what was causing the error!
          It was the sudo, that I mistakenly used to execute the script. Running the install as pi was the solution.

          Hope this will help someone with the same problem. 🙂

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