Failed at chromedriver installation

Ali Yousefi Sabzevar picture Ali Yousefi Sabzevar · Aug 20, 2016 · Viewed 12.6k times · Source

I'm going to install slamdata on debian Jessie, as described here, but I failed at npm install section and it wanted to install chromedriver. I even tried a mirror of chromedriver. Here is logs.

exec@mob-db1:/opt/slamdata$ npm install

npm WARN deprecated [email protected]: this package has been reintegrated into npm and is now out of date with respect to npm

[email protected] install /opt/slamdata/node_modules/chromedriver node install.js

Downloading http://chromedriver.storage.googleapis.com/2.23/chromedriver_linux64.zip Saving to /tmp/chromedriver/chromedriver_linux64.zip Receiving... ChromeDriver installation failed undefined

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:

npm WARN notsup Not compatible with your operating system or architecture: [email protected]

npm ERR! Linux 4.2.8-1-pve

npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"

npm ERR! node v6.4.0

npm ERR! npm v3.10.6

npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node install.js

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the [email protected] install script node install.js.

npm ERR! Make sure you have the latest version of node.js and npm installed.

npm ERR! If you do, this is most likely a problem with the chromedriver package,

npm ERR! not with npm itself.

npm ERR! Tell the author that this fails on your system:

npm ERR! node install.js

npm ERR! You can get information on how to open an issue for this project with:

npm ERR! npm bugs chromedriver

npm ERR! Or if that isn't available, you can get their info via:

npm ERR! npm owner ls chromedriver

npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

npm ERR! /opt/slamdata/npm-debug.log

exec@mob-db1:/opt/slamdata$ npm install chromedriver --chromedriver_cdnurl=http://npm.taobao.org/mirrors/chromedriver

npm WARN deprecated [email protected]: this package has been reintegrated into npm and is now out of date with respect to npm

[email protected] install /opt/slamdata/node_modules/chromedriver node install.js

Downloading http://npm.taobao.org/mirrors/chromedriver/2.23/chromedriver_linux64.zip Saving to /tmp/chromedriver/chromedriver_linux64.zip Receiving... ChromeDriver installation failed undefined npm WARN optional Skipping failed optional dependency /chokidar/fsevents: npm WARN notsup Not compatible with your operating system or architecture: [email protected]

npm ERR! Linux 4.2.8-1-pve

npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "chromedriver" "--chromedriver_cdnurl=http://npm.taobao.org/mirrors/chromedriver"

npm ERR! node v6.4.0

npm ERR! npm v3.10.6

npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node install.js

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the [email protected] install script 'node install.js'.

npm ERR! Make sure you have the latest version of node.js and npm installed.

npm ERR! If you do, this is most likely a problem with the chromedriver package,

npm ERR! not with npm itself.

npm ERR! Tell the author that this fails on your system:

npm ERR! node install.js

npm ERR! You can get information on how to open an issue for this project with:

npm ERR! npm bugs chromedriver

npm ERR! Or if that isn't available, you can get their info via:

npm ERR! npm owner ls chromedriver

npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

npm ERR! /opt/slamdata/npm-debug.log

Answer

cc Aier picture cc Aier · Dec 4, 2017

I met it with 'yarn install' which info 'chromedriver: ChromeDriver installation failed Error with http'.So i try to install chromedriver before 'yarn install'. And then solve it.

https://www.npmjs.com/package/chromedriver