• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 3.6k 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 Apr 23, 2017, 6:16 PM Apr 15, 2017, 10:20 AM

    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 Apr 19, 2017, 12:56 PM

      Sorry, no solution, I have the same problem !

      1 Reply Last reply Reply Quote 0
      • P Offline
        Projekt95
        last edited by Apr 23, 2017, 6:15 PM

        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
        1 / 1
        • First post
          1/3
          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