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.

    Unable to install dependencies - chromedriver.js

    Scheduled Pinned Locked Moved Solved Troubleshooting
    8 Posts 2 Posters 2.4k 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.
    • J Offline
      jinhyuck
      last edited by

      I just bought Raspberry PI 4 (it means I’m noob)
      I tried to install MagicMirror with the code below

      bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"
      

      and I countered an error like below

      Installing dependencies ...
      npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates.
      
      > electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver
      > node ./download-chromedriver.js
      
      /home/pi/MagicMirror/node_modules/electron-chromedriver/download-chromedriver.js:30
        if (err != null) throw err
                         ^
      
      Error: getaddrinfo EAI_AGAIN github-production-release-asset-2e65be.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com:443
          at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:57:26)
      npm WARN acorn-jsx@5.1.0 requires a peer of acorn@^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.
      
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! electron-chromedriver@1.8.0 install: `node ./download-chromedriver.js`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the electron-chromedriver@1.8.0 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/pi/.npm/_logs/2019-11-03T20_21_39_172Z-debug.log
      Unable to install dependencies!
      
      

      My npm version is V6.12.1 and node version is v10.15.2 and Raspbian image filename was ‘2019-09-26-raspbian-buster-full’.

      I’m sorry to ask this kind of unproductive thing but I really need your help.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil
        last edited by

        @jinhyuck said in Unable to install dependencies - chromedriver.js:

        Error: getaddrinfo EAI_AGAIN github-production-release-asset-2e65be.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com:443

        there is some networking access problem from your system

        if you do

        cd ~/MagicMirror/node_modules/electron-chromedriver
        

        then

        node ./download-chromedriver.js
        

        you should see the same error

        are you working thru a VPN, or from a docker container? (where the same error has been reported before)

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @jinhyuck
          last edited by sdetweil

          @jinhyuck try my updated installer… will be part of next release

          see https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installer

          you will have to erase the MagicMirror folder

          from /home/pi

          rm -rf MagicMirror
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            jinhyuck @sdetweil
            last edited by

            @sdetweil Thanks for the answering.
            I tried the new script you offer

            bash -c "$(curl -sL https://www.dropbox.com/s/rlh710ng0zwv3vp/raspberry.sh?dl=0)"
            

            Unfortunately, result is the same error. Am I understand you right?

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @jinhyuck
              last edited by

              @jinhyuck can u show the ~/MagicMirrir/install.log (or email to me if not, same userid as here at gmail)

              try

              npm i -g npm 
              

              then try the install again (remove MagicMirror folder)

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                jinhyuck @sdetweil
                last edited by

                @sdetweil I’ve done this

                npm i -g npm
                

                but still same problem happens.

                And I couldn’t find the ‘install.log’ file.

                the link below is npm log file just in case this helps.

                https://drive.google.com/file/d/1J3IMZ6g4bhwmVW-gAH7b8vmJDG_u_vwn/view?usp=sharing

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil
                  last edited by

                  @jinhyuck said in Unable to install dependencies - chromedriver.js:

                  Error: getaddrinfo EAI_AGAIN github-production-release-asset-2e65be.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com:443

                  there is some networking access problem from your system

                  if you do

                  cd ~/MagicMirror/node_modules/electron-chromedriver
                  

                  then

                  node ./download-chromedriver.js
                  

                  you should see the same error

                  are you working thru a VPN, or from a docker container? (where the same error has been reported before)

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    jinhyuck @sdetweil
                    last edited by

                    @sdetweil Thanks, Sam.
                    It was a kind of network issue.
                    I used hotspot from my cellphone and I could done the installation.
                    I have to find out why my LAN has that kind of problem.
                    Anyway thanks a lot.

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @jinhyuck
                      last edited by

                      @jinhyuck cool… glad you were able to continue

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      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