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.

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

    Scheduled Pinned Locked Moved Troubleshooting
    6 Posts 3 Posters 4.9k Views 2 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.
    • D Offline
      devinhedge
      last edited by devinhedge

      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

      /home/******/MagicMirror/node_modules/spectron/node_modules/electron-chromedriver/download-chromedriver.js:16
      if (error != null) throw error
      ^

      Error: Failed to find Electron v1.7.0 for linux-arm64 at https://github.com/electron/electron/releases/download/v1.7.0/chromedriver-v1.7.0-linux-arm64.zip
      at Request. (/home//MagicMirror/node_modules/nugget/index.js:169:61)
      at Request.emit (events.js:160:13)
      at Request.onRequestResponse (/home/
      /MagicMirror/node_modules/request/request.js:1068:10)
      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.

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        devinhedge @devinhedge
        last edited by

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

        The install script looks for the following: https://github.com/electron/electron/releases/download/v1.7.0/chromedriver-v1.7.0-linux-arm64.zip

        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.

        1 Reply Last reply Reply Quote 0
        • K Offline
          Kennetht
          last edited by

          Is there any progress or different approach available for an installation on a Rock64?
          Both 7.0 and 7.1 of the chromium webdrivwr are unavailable.

          Love to have this working on the Rock64.

          K 1 Reply Last reply Reply Quote 0
          • K Offline
            Kennetht @Kennetht
            last edited by

            @kennetht To bad that there is no response to this issue.
            Although I have little to no knowledge on how to solve this, my gut feeling tells me some install script needs to be updated and pointed to a newer electron installation.

            bheplerB 1 Reply Last reply Reply Quote 0
            • bheplerB Offline
              bhepler Module Developer @Kennetht
              last edited by bhepler

              @kennetht - Have you tried installing Electron manually with a version that exists and then running the npm install process again? I don’t think the script requires a specific version of electron. The next version up will probably work.

              1 Reply Last reply Reply Quote 0
              • K Offline
                Kennetht
                last edited by

                Stacy Webb changed the script yesterday to address this issue. I’ve tested it with a clean install, but still it didn’t work.
                I have to try and manually install and see where there’s a problem.
                Only my knowledge of Linux is not that good at this point in time.

                1 Reply Last reply Reply Quote 0

                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