appium: Unable to install Appium on unbutu 14
Hi.
I hava applied the command “npm install -g appium” to install appium on ubuntu 14.04 Responded below error,
npm WARN peerDependencies The peer dependency continuation-local-storage@~3 included from cls-bluebird 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 peerDependencies The peer dependency bluebird@>=1.0.3 included from cls-bluebird 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-chromedriver@2.8.3 install /home/kim/.nvm/versions/node/v4.2.6/lib/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 ‘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 ‘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’ 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… info Chromedriver Install Writing binary content to /tmp/201644-12989-1y4y0c1/chromedriver_linux64.zip… info Chromedriver Install Extracting /tmp/201644-12989-1y4y0c1/chromedriver_linux64.zip to /tmp/201644-12989-1y4y0c1/chromedriver_linux64 info Chromedriver Install Creating /home/kim/.nvm/versions/node/v4.2.6/lib/node_modules/appium/node_modules/appium-android-driver/node_modules/appium-chromedriver/chromedriver/linux… info Chromedriver Install Copying unzipped binary, reading from /tmp/201644-12989-1y4y0c1/chromedriver_linux64/chromedriver… info Chromedriver Install Writing to /home/kim/.nvm/versions/node/v4.2.6/lib/node_modules/appium/node_modules/appium-android-driver/node_modules/appium-chromedriver/chromedriver/linux/chromedriver_64… info Chromedriver Install /home/kim/.nvm/versions/node/v4.2.6/lib/node_modules/appium/node_modules/appium-android-driver/node_modules/appium-chromedriver/chromedriver/linux/chromedriver_64 successfully put in place
appium-selendroid-driver@1.3.3 install /home/kim/.nvm/versions/node/v4.2.6/lib/node_modules/appium/node_modules/appium-selendroid-driver node ./bin/install.js
dbug AndroidDriver Getting Java version info SelendroidInstaller Ensuring /home/kim/.nvm/versions/node/v4.2.6/lib/node_modules/appium/node_modules/appium-selendroid-driver/node_modules/appium-selendroid-installer/selendroid/download exists Error: Command ‘java -version’ errored out: Error: spawn java ENOENT at exports._errnoException (util.js:870:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32) at onErrorNT (internal/child_process.js:344:16) at nextTickCallbackWith2Args (node.js:441:9) at process._tickCallback (node.js:355:17) at Function.Module.runMain (module.js:444:11) at startup (node.js:136:18) at node.js:966:3 at ChildProcess.<anonymous> (lib/teen_process.js:31:14) at emitOne (events.js:77:13) at ChildProcess.emit (events.js:169:7) at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12) at onErrorNT (internal/child_process.js:344:16) at nextTickCallbackWith2Args (node.js:441:9) at process._tickCallback (node.js:355:17) at Function.Module.runMain (module.js:444:11) at startup (node.js:136:18) at node.js:966:3 npm ERR! Linux 3.19.0-25-generic npm ERR! argv “/home/kim/.nvm/versions/node/v4.2.6/bin/node” “/home/kim/.nvm/versions/node/v4.2.6/bin/npm” “install” “-g” “appium” npm ERR! node v4.2.6 npm ERR! npm v2.14.12 npm ERR! code ELIFECYCLE
npm ERR! appium-selendroid-driver@1.3.3 install: node ./bin/install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the appium-selendroid-driver@1.3.3 install script ‘node ./bin/install.js’.
npm ERR! This is most likely a problem with the appium-selendroid-driver package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./bin/install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls appium-selendroid-driver
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /home/kim/npm-debug.log
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 18 (2 by maintainers)
I’ve added a check for this in
appium-doctor@1.2.2
, to try to help diagnose. Thanks for the solution, @LoveleenSaini !