I am trying to upgrade appium from version 1.4.16.1 to latest (1.5.2) on my Windows using ‘npm install -g appium’ command but it is failing with multiple errors.
Can someone please help.
Below are the errors that are displayed in the command prompt.
Thanks.
=========================================
C:\Windows\system32>npm install -g appium
npm WARN peerDependencies The peer dependency continuation-local-storage@~3 incl
uded from cls-bluebird will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerD
ependency
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 peerD
ependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it
explicitly.
[email protected] install C:\Users\loveleen.saini\AppData\Roaming\npm
node_modules\appium\node_modules\appium-android-driver\node_modules\appium-chrom
edriver
node install-npm.js
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘core-js/library/fn/get-iterator’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘…/modules/web.dom.iterable’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘…/modules/web.dom.iterable’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘…/modules/web.dom.iterable’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘…/modules/web.dom.iterable’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘…/modules/web.dom.iterable’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘…/modules/web.dom.iterable’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘…/modules/web.dom.iterable’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘…/modules/web.dom.iterable’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘…/modules/web.dom.iterable’
Error trying to install Chromedriver binary. Waiting and trying again. Cannot fi
nd module ‘…/modules/web.dom.iterable’
info Chromedriver Install Installing Chromedriver version ‘2.21’ for platform ‘w
in’ and architecture ‘32’
info Chromedriver Install Opening temp file to write chromedriver_win32 to…
ERR! Support Error: ENOENT: no such file or directory, open ‘C:\Users\LOVELE~1.S
AI\AppData\Local\Temp\2016412-2932-h847ga\chromedriver_win32.zip’
ERR! Support at Error (native)
ERR! Support { [Error: ENOENT: no such file or directory, open ‘C:\Users\LOVELE
~1.SAI\AppData\Local\Temp\2016412-2932-h847ga\chromedriver_win32.zip’]
ERR! Support cause:
ERR! Support { [Error: ENOENT: no such file or directory, open ‘C:\Users\LOVE
LE~1.SAI\AppData\Local\Temp\2016412-2932-h847ga\chromedriver_win32.zip’]
ERR! Support errno: -4058,
ERR! Support code: ‘ENOENT’,
ERR! Support syscall: ‘open’,
ERR! Support path: ‘C:\Users\LOVELE~1.SAI\AppData\Local\Temp\2016412-
2932-h847ga\chromedriver_win32.zip’ },
ERR! Support isOperational: true,
ERR! Support errno: -4058,
ERR! Support code: ‘ENOENT’,
ERR! Support syscall: ‘open’,
ERR! Support path: ‘C:\Users\LOVELE~1.SAI\AppData\Local\Temp\2016412-293
2-h847ga\chromedriver_win32.zip’ }
Error: ENOENT: no such file or directory, open ‘C:\Users\LOVELE~1.SAI\AppData\Lo
cal\Temp\2016412-2932-h847ga\chromedriver_win32.zip’
at Error (native)
[email protected] install C:\Users\loveleen.saini\AppData\Roaming
\npm\node_modules\appium\node_modules\appium-selendroid-driver
node ./bin/install.js
dbug AndroidDriver Getting Java version
info SelendroidInstaller Ensuring C:\Users\loveleen.saini\AppData\Roaming\npm\no
de_modules\appium\node_modules\appium-selendroid-driver\node_modules\appium-sele
ndroid-installer\selendroid\download exists
info AndroidDriver Java version is: 1.8.0_74
info SelendroidInstaller Downloading Selendroid standalone server version 0.17.0
from https://github.com/selendroid/selendroid/releases/download/0.17.0/selendro
id-standalone-0.17.0-with-dependencies.jar → C:\Users\loveleen.saini\AppData\R
oaming\npm\node_modules\appium\node_modules\appium-selendroid-driver\node_module
s\appium-selendroid-installer\selendroid\download\selendroid-server.jar
info SelendroidInstaller Writing binary content to C:\Users\loveleen.saini\AppDa
ta\Roaming\npm\node_modules\appium\node_modules\appium-selendroid-driver\node_mo
dules\appium-selendroid-installer\selendroid\download\selendroid-server.jar
info SelendroidInstaller Selendroid standalone server downloaded
info SelendroidInstaller Determining AndroidManifest location
Error: Command ‘jar tf C:\Users\loveleen.saini\AppData\Roaming\npm\node_mo
dules\appium\node_modules\appium-selendroid-driver\node_modules\appium-sele
ndroid-installer\selendroid\download\selendroid-server.jar’ errored out: Erro
r: spawn jar 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:442:9)
at process._tickCallback (node.js:356:17)
at ChildProcess. (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:442:9)
at process._tickCallback (node.js:356:17)
npm ERR! Windows_NT 6.1.7601
npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\
node_modules\npm\bin\npm-cli.js” “install” “-g” “appium”
npm ERR! node v4.4.4
npm ERR! npm v2.15.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node install-npm.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script ‘node install-np
m.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 information on how to open an issue for this project with:
npm ERR! npm bugs appium-chromedriver
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR!
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! C:\Windows\system32\npm-debug.log