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



  • 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



  • Sorry, no solution, I have the same problem !



  • 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. :)



Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.