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.

can't install appium1.5.0

See original GitHub issue

Hi Dears

     I used npm install -g appium  update appium to 1.5.0 in commond ,there is a problem appear in install SelendroidInstaller . 

yan@yan-Inspiron-7548:~$ sudo npm install -g appium [sudo] password for yan:

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

Error trying to install Chromedriver binary. Waiting and trying again. Error trying to install Chromedriver binary. Waiting and trying again. Error trying to install Chromedriver binary. Waiting and trying again. info Chromedriver Install Installing Chromedriver version ‘2.21’ for platform ‘linux’ and architecture ‘64’ info Chromedriver Install Opening temp file to write chromedriver_linux64 to… info Chromedriver Install Downloading http://chromedriver.storage.googleapis.com/2.21/chromedriver_linux64.zip… RequestError: Error: connect ETIMEDOUT 74.125.203.128:80 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:199:22) at emitOne (events.js:77:13) at Request.emit (events.js:169:7) at Request.onRequestError (/usr/local/lib/node_modules/appium/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:1250:8) at nextTickCallbackWith2Args (node.js:442:9) at process._tickCallback (node.js:356:17)

appium-selendroid-driver@1.2.2 install /usr/local/lib/node_modules/appium/node_modules/appium-selendroid-driver node ./bin/install.js

info SelendroidInstaller Ensuring /usr/local/lib/node_modules/appium/node_modules/appium-selendroid-installer/selendroid/download exists info SelendroidInstaller Downloading Selendroid standalone server version 0.17.0 from https://github.com/selendroid/selendroid/releases/download/0.17.0/selendroid-standalone-0.17.0-with-dependencies.jar --> /usr/local/lib/node_modules/appium/node_modules/appium-selendroid-installer/selendroid/download/selendroid-server.jar

I’m wait about 3h or more times it always stop here. I’m in china but i have used VPN and my node is v4.4.0 npm is v2.14.20. I have find this problem in win 10 ,win 8.1 ,win 7 and ubuntu 14.04. Sometimes i install success in win platform,then i find the appium-doctor have be lost.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:24 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
SrinivasanTargetcommented, Mar 22, 2016

Try installing appium without sudo

1reaction
JK-yancommented, Mar 23, 2016

hi i had try installing appium without sudo in user and root ,it also can’t successful.

In user ,remind me not have permission

yan@yan-Inspiron-7548:~$ npm install -g appium npm ERR! tar.unpack untar error /home/yan/.npm/appium/1.5.0/package.tgz npm ERR! Linux 4.2.0-34-generic npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “install” “-g” “appium” npm ERR! node v4.4.0 npm ERR! npm v2.14.20 npm ERR! path /usr/local/lib/node_modules/appium npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall mkdir

npm ERR! Error: EACCES: permission denied, mkdir ‘/usr/local/lib/node_modules/appium’ npm ERR! at Error (native) npm ERR! { [Error: EACCES: permission denied, mkdir ‘/usr/local/lib/node_modules/appium’] npm ERR! errno: -13, npm ERR! code: ‘EACCES’, npm ERR! syscall: ‘mkdir’, npm ERR! path: ‘/usr/local/lib/node_modules/appium’, npm ERR! fstream_type: ‘Directory’, npm ERR! fstream_path: ‘/usr/local/lib/node_modules/appium’, npm ERR! fstream_class: ‘DirWriter’, npm ERR! fstream_stack: npm ERR! [ ‘/usr/local/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:35:25’, npm ERR! ‘/usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:47:53’, npm ERR! ‘FSReqWrap.oncomplete (fs.js:82:15)’ ] } npm ERR! npm ERR! Please try running this command again as root/Administrator.

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

In root

yan@yan-Inspiron-7548:~$ sudo su [sudo] password for yan: root@yan-Inspiron-7548:/home/yan# npm install -g appium npm ERR! tar.unpack untar error /tmp/npm-2956-3cc2c276/registry.npmjs.org/appium-android-driver/-/appium-android-driver-1.6.12.tgz npm ERR! tar.unpack untar error /tmp/npm-2956-3cc2c276/registry.npmjs.org/appium-instruments/-/appium-instruments-3.6.0.tgz npm ERR! Linux 4.2.0-34-generic npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “install” “-g” “appium” npm ERR! node v4.4.0 npm ERR! npm v2.14.20

npm ERR! unexpected eof npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request: npm ERR! /home/yan/npm-debug.log root@yan-Inspiron-7548:/home/yan#

The npm-debug.log

https://drive.google.com/open?id=0B0ebpGyim_g8ZVNId1Z1cVhOVmM
Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to install appium 1.5 version on windows 7/ windows 8
Hi,. I am unable to install appium higher versions( 1.4.1-1.5), facing Appium chromedriver installation issue. But I could install appium ...
Read more >
Appium is not installing - node.js - Stack Overflow
Installation is failing because files it needs to create already exist. You need to pass the --force flag when installing to overwrite these ......
Read more >
Appium Beginner Tutorial 3 | How to install appium on Windows
Key moments. View all · Step 1 : Check if node.js is installed on your system node --version npm --version · Step 1...
Read more >
How to Download and Install Appium | BrowserStack
Method 2: Installing Appium using Appium Desktop Client · Visit the official Appium site · Click on the Download Appium button. Appium download....
Read more >
appium/CHANGELOG.md - UNPKG
43, * Fix handling of install/upgrade of Appium helper apps (for settings ... 478, * Add ability to verify TOAST messages (these can't...
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