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.

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

    Scheduled Pinned Locked Moved Troubleshooting
    installing dependeciesinstallationautoinstallelectron-chromedriverelectron
    3 Posts 2 Posters 4.1k 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.
    • P Offline
      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 Offline
        joachimt
        last edited by

        Sorry, no solution, I have the same problem !

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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 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