gpt4 book ai didi

node.js - chromedriver 安装失败

转载 作者:行者123 更新时间:2023-12-04 14:07:31 29 4
gpt4 key购买 nike

我将在 debian Jessie 上安装 slamdata,如 here 所述,但我在 npm install 部分失败了,它想安装 chromedriver。我什至尝试了 chromedriver 的镜子。这是日志。

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

npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm

chromedriver@2.23.1 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: fsevents@1.0.14

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! chromedriver@2.23.1 install: node install.js

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the chromedriver@2.23.1 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 npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm

chromedriver@2.23.1 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: fsevents@1.0.14

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! chromedriver@2.23.1 install: node install.js

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the chromedriver@2.23.1 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

最佳答案

我遇到了“ yarn 安装”,其中信息“chromedriver:ChromeDriver 安装失败 http 错误”。所以我尝试在“ yarn 安装”之前安装 chromedriver。
然后解决它。

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

关于node.js - chromedriver 安装失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39051351/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com