Error on clean installation using npm install: electron-chromedriver@1.7.1

  • I’m doing a clean installation on an arm64 Alt-SBC running Debian Stretch (latest), Node v9.4.0, npm v5.6.0, and pm2 v2.9.3.

    I ran the following:

    npm install

    and received the following:

    >electron-chromedriver@1.7.1 install /home/******/MagicMirror/node_modules/spectron/node_modules/electron-chromedriver
    >node ./download-chromedriver.js

    if (error != null) throw error

    Error: Failed to find Electron v1.7.0 for linux-arm64 at
    at Request. (/home//MagicMirror/node_modules/nugget/index.js:169:61)
    at Request.emit (events.js:160:13)
    at Request.onRequestResponse (/home/
    at ClientRequest.emit (events.js:160:13)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:548:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:115:23)
    at TLSSocket.socketOnData (_http_client.js:439:20)
    at TLSSocket.emit (events.js:160:13)
    at addChunk (_stream_readable.js:269:12)
    at readableAddChunk (_stream_readable.js:256:11)
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! electron-chromedriver@1.7.1 install: node ./download-chromedriver.js
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the electron-chromedriver@1.7.1 install script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

    npm ERR! A complete log of this run can be found in:
    npm ERR! /home/******/.npm/_logs/2018-01-24T22_13_32_115Z-debug.log

    When I go look at the electron/chromedriver releases, there is no 1.7.1 candidate for arm64. Any ideas on how to make the installation more platform agnostic and updated to the latest stable electron?

    FWIW: the SBC is a Pine Rock64.

    I’m willing to put in the work if someone can coach me through some of the pi-specific decisions.

  • @devinhedge did some digging. There is a bug in the install script.

    The install script looks for the following:

    There is no v1.7.0 of electron. There is a v1.7.1 of Electron.

    Electron v.1.7.0 was removed for some reason.

Log in to reply

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