npm ERR! Failed at the appium-chromedriver@4.10.1 install script.
See original GitHub issueThe problem
Trying to install appium with npm . But getting the above error
Environment
- Appium version (or git revision) that exhibits the issue: Latest version as i am trying command npm install -g appium
- Desktop OS/version used to run Appium: Windows 10
- Node.js version (unless using Appium.app|exe): Version 10.15.3
- Npm or Yarn package manager: 6.4.1
- Mobile platform/version under test: Android
- Real device or emulator/simulator: Real Device
- Appium CLI or Appium.app|exe:
Details
If necessary, describe the problem you have been experiencing in more detail.
Link to Appium logs
C:\Users\sdsouza>npm install -g appium
npm WARN deprecated fsevents@2.0.1: Not Ready For Production
C:\Users\sdsouza\AppData\Roaming\npm\appium -> C:\Users\sdsouza\AppData\Roaming\npm\node_modules\appium\build\lib\main.js
> appium-chromedriver@4.10.1 install C:\Users\sdsouza\AppData\Roaming\npm\node_modules\appium\node_modules\appium-chromedriver
> node install-npm.js
[22:12:50] [Chromedriver Install] Installing Chromedriver version '2.31 npm install appium' for platform 'win' and architecture '32'
[22:12:50] [Chromedriver Install] Opening temp file to write 'chromedriver_win32' to...
[22:12:50] [Chromedriver Install] Opened temp file 'C:\Users\sdsouza\AppData\Local\Temp\2019215-10296-l9kp8m.o6q7\chromedriver_win32.zip'
[22:12:50] [Chromedriver Install] Downloading https://chromedriver.storage.googleapis.com/2.31 npm install appium/chromedriver_win32.zip...
StatusCodeError: 404 - "<?xml version='1.0' encoding='UTF-8'?><Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Details>No such object: chromedriver/2.31 npm install appium/chromedriver_win32.zip</Details></Error>"
at new StatusCodeError (C:\Users\sdsouza\AppData\Roaming\npm\node_modules\appium\node_modules\request-promise-core\lib\errors.js:32:15)
at Request.plumbing.callback (C:\Users\sdsouza\AppData\Roaming\npm\node_modules\appium\node_modules\request-promise-core\lib\plumbing.js:104:33)
at Request.RP$callback [as _callback] (C:\Users\sdsouza\AppData\Roaming\npm\node_modules\appium\node_modules\request-promise-core\lib\plumbing.js:46:31)
at Request.self.callback (C:\Users\sdsouza\AppData\Roaming\npm\node_modules\appium\node_modules\request\request.js:185:22)
at Request.emit (events.js:189:13)
at Request.<anonymous> (C:\Users\sdsouza\AppData\Roaming\npm\node_modules\appium\node_modules\request\request.js:1161:10)
at Request.emit (events.js:189:13)
at IncomingMessage.<anonymous> (C:\Users\sdsouza\AppData\Roaming\npm\node_modules\appium\node_modules\request\request.js:1083:12)
at Object.onceWrapper (events.js:277:13)
at IncomingMessage.emit (events.js:194:15)
at endReadableNT (_stream_readable.js:1125:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.0.1 (node_modules\appium\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.0.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! appium-chromedriver@4.10.1 install: `node install-npm.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the appium-chromedriver@4.10.1 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! C:\Users\sdsouza\AppData\Roaming\npm-cache\_logs\2019-03-15T16_43_28_055Z-debug.log
Code To Reproduce Issue [ Good To Have ]
npm install -g appium
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (5 by maintainers)
Top Results From Across the Web
npm install fibers shows error - node.js
I use Ubuntu 18.04 LTS and Node 10 and this is what I did: Install gcc , g++ , make and build-essential just...
Read more >Common errors
You are trying to install on a drive that either has no space, or has no permission to write. Free some disk space...
Read more >realm
Realm is a mobile database that runs directly inside phones, tablets or wearables. This project hosts the JavaScript versions of Realm.
Read more >start-server-and-test
npm install --save-dev start-server-and-test. Use. This command is meant to be used with NPM script commands. If you have a "start server", ...
Read more >fibers
Start using fibers in your project by running `npm i fibers`. There are 526 other projects in the npm registry using fibers.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Particularly for me, this command worked:
npm install -g appium --unsafe-perm=true --allow-root
I am using Manjaro latest stable edition, could successfully “install-npm.js” using node 😃
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.