windows7 Execute cmd:
npm install -g -d appium
start smoothly
error like:
info Chromedriver Install Installing Chromedriver version ‘2.21’ for platform ‘win’ and architecture ‘32’
info Chromedriver Install Opening temp file to write chromedriver_win32 to…
info Chromedriver Install Downloading http://chromedriver.storage.googleapis.com/2.21/chromedriver_win32.zip…
RequestError: Error: connect ETIMEDOUT 216.58.218.176:80
at new RequestError (C:\Testwa\node_modules\appium\node_modules\request-promise\lib\errors.js:11:15)
at Request.RP$callback [as _callback] (C:\Testwa\node_modules\appium\node_modules\request-promise\lib\rp.js:60:32)
at self.callback (C:\Testwa\node_modules\appium\node_modules\request-promise\node_modules\request\request.js:199:22)
at emitOne (events.js:77:13)
at Request.emit (events.js:169:7)
at Request.onRequestError (C:\Testwa\node_modules\appium\node_modules\request-promise\node_modules\request\request.js:821:8)
at emitOne (events.js:77:13)
at ClientRequest.emit (events.js:169:7)
at Socket.socketErrorListener (_http_client.js:256:9)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at emitErrorNT (net.js:1253:8)
at nextTickCallbackWith2Args (node.js:442:9)
at process._tickCallback (node.js:356:17)
info SelendroidInstaller Downloading Selendroid standalone server version 0.17.0 from https://github.com/selendroid/selendroid/releases/downl
0.17.0/selendroid-standalone-0.17.0-with-dependencies.jar --> C:\Testwa\node_modules\appium\node_modules\appium-selendroid-driver\node_module
pium-selendroid-installer\selendroid\download\selendroid-server.jar
C:\Testwa\node_modules\appium\node_modules\appium-selendroid-driver\node_modules\appium-selendroid-installer\node_modules\request-promise\lib
ors.js:11
Error.captureStackTrace(this);
^
RequestError: Error: socket hang up
at new RequestError (C:\Testwa\node_modules\appium\node_modules\appium-selendroid-driver\node_modules\appium-selendroid-installer\node_mo
s\request-promise\lib\errors.js:11:15)
at Request.RP$callback [as _callback] (C:\Testwa\node_modules\appium\node_modules\appium-selendroid-driver\node_modules\appium-selendroid
taller\node_modules\request-promise\lib\rp.js:56:32)
at self.callback (C:\Testwa\node_modules\appium\node_modules\appium-selendroid-driver\node_modules\appium-selendroid-installer\node_modul
equest-promise\node_modules\request\request.js:199:22)
at emitOne (events.js:77:13)
at Request.emit (events.js:169:7)
at Request.onRequestError (C:\Testwa\node_modules\appium\node_modules\appium-selendroid-driver\node_modules\appium-selendroid-installer\n
modules\request-promise\node_modules\request\request.js:821:8)
at emitOne (events.js:77:13)
at ClientRequest.emit (events.js:169:7)
at TLSSocket.socketOnEnd (_http_client.js:292:9)
at emitNone (events.js:72:20)
at TLSSocket.emit (events.js:166:7)
at endReadableNT (_stream_readable.js:913:12)
at nextTickCallbackWith2Args (node.js:442:9)
at process._tickCallback (node.js:356:17)
npm info [email protected] Failed to exec install script
npm ERR! Windows_NT 6.1.7601
npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js” “install” “-g” “-d” "appi
npm ERR! node v4.4.2
npm ERR! npm v2.15.0
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node install-npm.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script ‘node install-npm.js’.
npm ERR! This is most likely a problem with the appium-chromedriver package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install-npm.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs appium-chromedriver
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR!
npm ERR! npm owner ls appium-chromedriver
npm ERR! There is likely additional logging output above.