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.

Unable to install Appium 1.6.5

See original GitHub issue

The problem

Unexpected error while install appium, Failed at the appium-chromedriver@2.11.2 install script.

Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/appium/node_modules/appium-chromedriver/2017730-19103-8k7ps3.ntg6yiizfr'

Environment

  • Appium version (or git revision) that exhibits the issue: 1.6.5
  • Last Appium version that did not exhibit the issue (if applicable): 1.6.4
  • Desktop OS/version used to run Appium: Ubuntu Desktop 16.04.3
  • Node.js version (unless using Appium.app|exe): v6.11.2 npm version 5.3.0
  • Mobile platform/version under test: N/A
  • Real device or emulator/simulator: N/A
  • Appium CLI or Appium.app|exe: N/A

Logs

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

(node:18524) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/appium/node_modules/appium-chromedriver/2017730-18524-1qvqka6.mo4lr9hpvi'
info Chromedriver Install Installing Chromedriver version '2.28' for platform 'linux' and architecture '64'
info Chromedriver Install Opening temp file to write chromedriver_linux64 to...
Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/appium/node_modules/appium-chromedriver/2017730-18524-2548a2.nrgousor'
    at Error (native)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules/appium/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! appium-chromedriver@2.11.2 install: `node install-npm.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the appium-chromedriver@2.11.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!     /home/tetra/.npm/_logs/2017-08-29T23_43_19_484Z-debug.log

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jlippscommented, Aug 29, 2017

great. yeah sometimes if you don’t uninstall first the permissions can be weird. i’ve seen this with npm in the past.

0reactions
lock[bot]commented, Apr 25, 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

error when install appium 1.6.5 · Issue #8552 - GitHub
The problem. I got an error when install appium 1.6.5 by cmd "npm install -g appium". Environment. Appium version (or git revision) that ......
Read more >
Unable to install latest appium beta - Issues/Bugs
Hi All I am unable to install latest appium beta (1.6.6 beta 3) using this command npm install -g appium@beta. Any one facing...
Read more >
Unable to install appium - Support
I'm new to Appium and I have tried to install appium with command : npm install -g appium Error message shown is -...
Read more >
Unable to install appium 1.6 beta - Support
I have appium automation tests that doesn't work with IOS 10.0.1, Xcode 8 and Appium 1.5 So I was trying to install appium...
Read more >
Could not find JAVA, skipping UiAutomator2 install - Support
ENV: macOS Sierra 10.12.6. Appium 1.6.5 / 1.6.6 - beta4. When we installed the appium successfully however it seems that the UiAutomator2 ...
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