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 appium1.6

See original GitHub issue

I am trying to install appium with following command , it gives error npm install -g appium@beta

Error Log:-

C:\>npm install -g appium@beta
npm WARN engine appium@1.6.0-beta3: wanted: {"node":">=4","npm":">=3"} (current: {"node":"4.4.7","npm":"2.15.8"})
npm WARN optional dep failed, continuing fsevents@1.0.14
npm WARN engine punycode@2.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.7","npm":"2.15.8"})
npm WARN peerDependencies The peer dependency request@^2.34 included from request-promise will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN deprecated babel-core@5.8.24: Babel 5 is no longer being maintained. Upgrade to Babel 6.
npm WARN peerDependencies The peer dependency request@^2.34 included from request-promise-core will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.

> appium-windows-driver@0.2.0 install C:\Users\prabu\AppData\Roaming\npm\node_modules\appium\node_modules\appium-windows-driver
> node install-npm.js

module.js:327
    throw err;
    ^

Error: Cannot find module 'core-js/library/fn/symbol'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (C:\Users\prabu\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\core-js\symbol.js:1:93)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated line-numbers@0.2.0: Copy its ~20 LOC directly into your code instead.
|
> appium-chromedriver@2.9.2 install C:\Users\prabu\AppData\Roaming\npm\node_modules\appium\node_modules\appium-android-driver\node_modules\appium-chromedriver
> node install-npm.js

Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module 'core-js/library/fn/get-iterator'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module 'core-js/library/fn/get-iterator'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module 'core-js/library/fn/get-iterator'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module 'core-js/library/fn/get-iterator'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module 'core-js/library/fn/get-iterator'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module 'core-js/library/fn/get-iterator'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module 'core-js/library/fn/get-iterator'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
Error trying to install Chromedriver binary. Waiting and trying again. Cannot find module '../modules/web.dom.iterable'
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...
info Chromedriver Install Writing binary content to C:\Users\prabu\AppData\Local\Temp\2016912-5620-nza4ph\chromedriver_win32.zip...
info Chromedriver Install Extracting C:\Users\prabu\AppData\Local\Temp\2016912-5620-nza4ph\chromedriver_win32.zip to C:\Users\prabu\AppData\Local\Temp\2016912-5620-nza4ph\chromedriver_win32
info Chromedriver Install Creating C:\Users\prabu\AppData\Roaming\npm\node_modules\appium\node_modules\appium-android-driver\node_modules\appium-chromedriver\chromedriver\win...
info Chromedriver Install Copying unzipped binary, reading from C:\Users\prabu\AppData\Local\Temp\2016912-5620-nza4ph\chromedriver_win32\chromedriver.exe...
info Chromedriver Install Writing to C:\Users\prabu\AppData\Roaming\npm\node_modules\appium\node_modules\appium-android-driver\node_modules\appium-chromedriver\chromedriver\win\chromedriver.exe...
info Chromedriver Install C:\Users\prabu\AppData\Roaming\npm\node_modules\appium\node_modules\appium-android-driver\node_modules\appium-chromedriver\chromedriver\win\chromedriver.exe successfully put in place

> appium-selendroid-driver@1.4.3 install C:\Users\prabu\AppData\Roaming\npm\node_modules\appium\node_modules\appium-selendroid-driver
> node ./bin/install.js

dbug AndroidDriver Getting Java version
info AndroidDriver Java version is: 1.8.0_101
ERR! Selendroid Could not find Java's 'jar' executable on your PATH. Please ensure it is present and try running install again

> appium-uiautomator2-driver@0.0.2 install C:\Users\prabu\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-driver
> node ./bin/install.js

dbug AndroidDriver Getting Java version
info AndroidDriver Java version is: 1.8.0_101
info UiAutomator2 downloading UiAutomator2 Server APKs
WARN UiAutomator2 UiAutomator2 Server APKs downloaded, but MD5 hash did not match, please be careful
WARN UiAutomator2 fs.md5(UI2_SERVER_APK_PATH):80db0e40c100d73fa4d9ab6543d82b22
WARN UiAutomator2 fs.md5(UI2_TEST_APK_PATH):e1a161b4f2e0c874e2f75a8d7a74d7b1
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "appium@beta"
npm ERR! node v4.4.7
npm ERR! npm  v2.15.8
npm ERR! code ELIFECYCLE

npm ERR! appium-windows-driver@0.2.0 install: `node install-npm.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the appium-windows-driver@0.2.0 install script 'node install-npm.js'.
npm ERR! This is most likely a problem with the appium-windows-driver 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-windows-driver
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls appium-windows-driver
npm ERR! There is likely additional logging output above.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "appium@beta"
npm ERR! node v4.4.7
npm ERR! npm  v2.15.8
npm ERR! path C:\npm-debug.log.4261822169
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall open

npm ERR! Error: EPERM: operation not permitted, open 'C:\npm-debug.log.4261822169'
npm ERR!     at Error (native)
npm ERR!  { [Error: EPERM: operation not permitted, open 'C:\npm-debug.log.4261822169']
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'open',
npm ERR!   path: 'C:\\npm-debug.log.4261822169' }
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!     C:\npm-debug.log

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:27 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
tpavancommented, Jul 19, 2017

I am able to work and install correctly below is my configuration

v6.10.2 - node 1.5.3 - appium 3.10.10 - npm

1reaction
imurchiecommented, Jun 1, 2017

@lavi-xu Java comes with a number of auxiliary applications, which reside in its bin directory. One of those, which Appium needs to use, is jar. It needs to be available on the PATH.

Read more comments on GitHub >

github_iconTop Results From Across the Web

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 on windows 7 #16101 - GitHub
while trying to install appium 1.6 on windows i got below error 101025 error Windows_NT 6.1.7601 101026 error argv "C:\Program ...
Read more >
Unable to install appium@1.8.1 through npm
appium1.9 is working for me, as it doesn't allow to capture objects I tried to install appium 1.8.1 but getting some error.
Read more >
macos - Unable to install appium 1.6.0-beta3 using npm as error ...
Try installing with Brew. Run these commands at the terminal one after one: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew ...
Read more >
How to install Appium Server and Node on Windows through ...
The above command will install the Appium-doctor and now, you can check whether the dependencies are properly installed or not using the command ......
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