我正在尝试构建Kibana 4.5.4。为此,我正在尝试使用命令
安装Chromedriver v2.21.2npm install chromedriver@2.21.2
但这会输出错误
[user@localhost]$ npm install chromedriver@2.21.2
npm WARN deprecated npmconf@2.1.3: this package has been reintegrated into npm and is now out of date with respect to npm
\
> chromedriver@2.21.2 install /home/vibhcool/Documents/baac/onator/develop/kibana/node_modules/chromedriver
> node install.js
Downloading http://chromedriver.storage.googleapis.com/2.21/chromedriver_linux64.zip
Saving to /tmp/chromedriver/chromedriver_linux64.zip
Receiving...
Received 782K...
Received 1566K...
Received 2350K...
Received 2629K total.
Extracting zip contents
ChromeDriver installation failed undefined
npm ERR! Linux 4.9.117-1-MANJARO
npm ERR! argv "/home/vibhcool/.nvm/versions/node/v4.4.7/bin/node" "/home/vibhcool/.nvm/versions/node/v4.4.7/bin/npm" "install" "chromedriver@2.21.2"
npm ERR! node v4.4.7
npm ERR! npm v2.15.8
npm ERR! code ELIFECYCLE
npm ERR! chromedriver@2.21.2 install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the chromedriver@2.21.2 install script 'node install.js'.
npm ERR! 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 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! /home/vibhcool/Documents/baac/onator/develop/kibana/npm-debug.log
完整的错误日志 -> https://pastebin.com/ug8pzPRZ
我正在使用的npm版本是npm v4.4.7和节点v2.15.8
我在github和stackoverflow上浏览了很多帖子和问题,但是我找不到任何解决方案