Macaca 安装 macaca-chrome 报如下错误如何解决?

倪浩 · 2019年05月20日 · 最后由 Super-Ps 回复于 2019年08月31日 · 2202 次阅读

macaca-chromedriver@1.1.2 install C:\Users\XXXXXXX\AppData\Roaming\npm\node_modules\macaca-chrome\node_modules\macaca-chromedriver
node ./bin/macaca-chromedriver install

version: 2.45
chromedriver cdn url: http://npm.taobao.org/mirrors/chromedriver/2.45/chromedriver_win32.zip
internal/streams/legacy.js:59
throw er; // Unhandled stream error in pipe.
^

Error: connect ETIMEDOUT 114.55.80.225:80
at TCPConnectWrap.afterConnect as oncomplete
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! macaca-chromedriver@1.1.2 install: node ./bin/macaca-chromedriver install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the macaca-chromedriver@1.1.2 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! C:\Users\XXXXXX\AppData\Roaming\npm-cache_logs\2019-05-20T03_48_19_076Z-debug.log

共收到 1 条回复 时间 点赞

查阅官方解决办法

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册