Appium 安装 appium 报错 RequestError: Error: connect ETIMEDOUT 172.217.160.112:443

xiakexing · January 13, 2018 · Last by 瘦子挖西瓜 replied at November 09, 2018 · 3047 hits

请问有人在npm install -g appium的时候报如下的错吗?
/usr/local/bin/appium -> /usr/local/lib/node_modules/appium/build/lib/main.js

fsevents@1.1.3 install /usr/local/lib/node_modules/appium/node_modules/fsevents
node install

[fsevents] Success: "/usr/local/lib/node_modules/appium/node_modules/fsevents/lib/binding/Release/node-v59-darwin-x64/fse.node" is installed via remote

appium-chromedriver@3.1.4 install /usr/local/lib/node_modules/appium/node_modules/appium-chromedriver
node install-npm.js

info Chromedriver Install Installing Chromedriver version '2.33' for platform 'mac' and architecture '64'
info Chromedriver Install Opening temp file to write chromedriver_mac64 to...
info Chromedriver Install Downloading https://chromedriver.storage.googleapis.com/2.33/chromedriver_mac64.zip...
RequestError: Error: connect ETIMEDOUT 172.217.160.112:443
at new RequestError (/usr/local/lib/node_modules/appium/node_modules/request-promise/lib/errors.js:11:15)
at Request.RP$callback as _callback
at self.callback (/usr/local/lib/node_modules/appium/node_modules/request/request.js:186:22)
at Request.emit (events.js:160:13)
at Request.onRequestError (/usr/local/lib/node_modules/appium/node_modules/request/request.js:878:8)
at ClientRequest.emit (events.js:160:13)
at TLSSocket.socketErrorListener (_http_client.js:389:9)
at TLSSocket.emit (events.js:160:13)
at emitErrorNT (internal/streams/destroy.js:64:8)
at process._tickCallback (internal/process/next_tick.js:152:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! appium-chromedriver@3.1.4 install: node install-npm.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the appium-chromedriver@3.1.4 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! /Users/xxx/.npm/_logs/2018-01-13T02_38_49_702Z-debug.log

共收到 1 条回复 时间 点赞

同问,楼主解决了吗

需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up