Read the statement by Michael Teeuw here.
Unable to install dependencies - chromedriver.js
-
I just bought Raspberry PI 4 (it means I’m noob)
I tried to install MagicMirror with the code belowbash -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.
-
@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)
-
@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
-
@sdetweil Thanks for the answering.
I tried the new script you offerbash -c "$(curl -sL https://www.dropbox.com/s/rlh710ng0zwv3vp/raspberry.sh?dl=0)"
Unfortunately, result is the same error. Am I understand you right?
-
@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)
-
@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
-
@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)
-
@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. -
@jinhyuck cool… glad you were able to continue