question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

install appium error

See original GitHub issue

Last login: Tue Jul 7 23:11:49 on ttys001 zrydeMacBook-Pro:~ zry$ npm install appium

udidetect@1.0.7 install /Users/zry/node_modules/appium/node_modules/udidetect make

gcc -o udidetect -framework CoreFoundation -framework MobileDevice -F/System/Library/PrivateFrameworks udidetect.c

utf-8-validate@1.1.0 install /Users/zry/node_modules/appium/node_modules/ws/node_modules/utf-8-validate node-gyp rebuild

CXX(target) Release/obj.target/validation/src/validation.o SOLINK_MODULE(target) Release/validation.node npm WARN engine xmlbuilder@2.2.1: wanted: {“node”:“0.8.x || 0.10.x”} (current: {“node”:“0.12.6”,“npm”:“2.12.1”})

bufferutil@1.1.0 install /Users/zry/node_modules/appium/node_modules/ws/node_modules/bufferutil node-gyp rebuild

CXX(target) Release/obj.target/bufferutil/src/bufferutil.o SOLINK_MODULE(target) Release/bufferutil.node

ws@0.5.0 install /Users/zry/node_modules/appium/node_modules/socket.io/node_modules/engine.io/node_modules/ws (node-gyp rebuild 2> builderror.log) || (exit 0)

CXX(target) Release/obj.target/bufferutil/src/bufferutil.o SOLINK_MODULE(target) Release/bufferutil.node CXX(target) Release/obj.target/validation/src/validation.o SOLINK_MODULE(target) Release/validation.node

ws@0.4.31 install /Users/zry/node_modules/appium/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws (node-gyp rebuild 2> builderror.log) || (exit 0)

CXX(target) Release/obj.target/bufferutil/src/bufferutil.o

appium-chromedriver@2.1.3 install /Users/zry/node_modules/appium/node_modules/appium-chromedriver node install-npm.js

info Chromedriver Install Opening temp file to write chromedriver_mac32 to… info Chromedriver Install Downloading http://chromedriver.storage.googleapis.com/2.15/chromedriver_mac32.zip

… RequestError: Error: connect ETIMEDOUT at new RequestError (/Users/zry/node_modules/appium/node_modules/appium-chromedriver/node_modules/request-promise/lib/errors.js:11:15) at Request.RP$callback as _callback at self.callback (/Users/zry/node_modules/appium/node_modules/appium-chromedriver/node_modules/request/request.js:197:22) at Request.emit (events.js:107:17) at Request.onRequestError (/Users/zry/node_modules/appium/node_modules/appium-chromedriver/node_modules/request/request.js:854:8) at ClientRequest.emit (events.js:107:17) at Socket.socketErrorListener (_http_client.js:271:9) at Socket.emit (events.js:107:17) at net.js:459:14 at process._tickCallback (node.js:355:11) npm WARN engine hawk@0.10.2: wanted: {“node”:“0.8.x”} (current: {“node”:“0.12.6”,“npm”:“2.12.1”}) npm WARN engine cryptiles@0.1.3: wanted: {“node”:“0.8.x”} (current: {“node”:“0.12.6”,“npm”:“2.12.1”}) npm WARN engine sntp@0.1.4: wanted: {“node”:“0.8.x”} (current: {“node”:“0.12.6”,“npm”:“2.12.1”}) npm WARN engine boom@0.3.8: wanted: {“node”:“0.8.x”} (current: {“node”:“0.12.6”,“npm”:“2.12.1”}) npm WARN engine hoek@0.7.6: wanted: {“node”:“0.8.x”} (current: {“node”:“0.12.6”,“npm”:“2.12.1”}) npm ERR! Darwin 14.4.0 npm ERR! argv “node” “/usr/local/bin/npm” “install” “appium” npm ERR! node v0.12.6 npm ERR! npm v2.12.1 npm ERR! code ELIFECYCLE

npm ERR! appium-chromedriver@2.1.3 install: node install-npm.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the appium-chromedriver@2.1.3 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 their info via: npm ERR! npm owner ls appium-chromedriver npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /Users/zry/npm-debug.log

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
rahuljawalecommented, Jul 14, 2015

It ended up being proxy issue. Our mac minis are behind corporate proxy.

The issue was that that npm was using http_proxy environment variable and for some reason it was trying to split the value by : (colon). So the reason why I was seeing error Invalid Protocol (when the proxy was set) and ELIFECYCLE (when the proxy was not set).

Incorrect value for http_proxy was servername.domain.com:80 which had to be changed to http://servername.domain.com:80

0reactions
lock[bot]commented, Apr 29, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed on appium installation from command 'npm install
I have some problem to install appium with command 'npm install -g appium' and its shown a message such as 'ENOENT: no such...
Read more >
Not able to install appium using node.js - Stack Overflow
Currently getting an error while trying to install the Appium using Node.js (Windows 10). For more information please refer to the below log ......
Read more >
Getting error while installing appium via command promopt
I am trying to install appium via command prompt using the command "npm install -g appium" and getting error "npm ERR! code ELIFECYCLE"....
Read more >
Unable to install appium@1.8.1 through npm
npm ERR! Failed at the appium-chromedriver@4.0.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional ...
Read more >
error: Appium will not work if used or installed with sudo ...
" error: Appium will not work if used or installed with sudo. Please rerun/install as a non-root user. If you had to install...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found