Skip to content

Instantly share code, notes, and snippets.

@Pr60
Created April 26, 2018 21:15
Show Gist options
  • Save Pr60/d83bba7bc6471058f51ac7b4fa76a5d2 to your computer and use it in GitHub Desktop.
Save Pr60/d83bba7bc6471058f51ac7b4fa76a5d2 to your computer and use it in GitHub Desktop.
Unable to install appium (specifically chrome driver binary)
npm install -g appium
/usr/local/bin/appium -> /usr/local/lib/node_modules/appium/build/lib/main.js
> appium-chromedriver@3.5.2 install /usr/local/lib/node_modules/appium/node_modules/appium-chromedriver
> node install-npm.js
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Error trying to install Chromedriver binary. Waiting and trying again. frame.getFileName is not a function
Unable to import install script. Re-run `install appium-chromedriver` manually.
> appium-selendroid-driver@1.7.0 install /usr/local/lib/node_modules/appium/node_modules/appium-selendroid-driver
> node ./bin/install.js
internal/util.js:360
const filename = frame.getFileName();
^
TypeError: frame.getFileName is not a function
at isInsideNodeModules (internal/util.js:360:28)
at showFlaggedDeprecation (buffer.js:149:8)
at new Buffer (buffer.js:174:3)
at Array.<anonymous> (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/node_modules/source-map-support/source-map-support.js:149:21)
at /usr/local/lib/node_modules/appium/node_modules/appium-base-driver/node_modules/source-map-support/source-map-support.js:53:24
at mapSourcePosition (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/node_modules/source-map-support/source-map-support.js:171:21)
at wrapCallSite (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/node_modules/source-map-support/source-map-support.js:343:20)
at /usr/local/lib/node_modules/appium/node_modules/appium-base-driver/node_modules/source-map-support/source-map-support.js:378:26
at Array.map (<anonymous>)
at Function.prepareStackTrace (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/node_modules/source-map-support/source-map-support.js:377:24)
at process.emit (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/node_modules/source-map-support/source-map-support.js:431:52)
at process._fatalException (internal/bootstrap/node.js:435:27)
npm ERR! code ELIFECYCLE
npm ERR! errno 7
npm ERR! appium-selendroid-driver@1.7.0 install: `node ./bin/install.js`
npm ERR! Exit status 7
npm ERR!
npm ERR! Failed at the appium-selendroid-driver@1.7.0 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! /Users/pr/.npm/_logs/2018-04-26T21_06_07_305Z-debug.log
@wskariah
Copy link

wskariah commented May 2, 2018

I am having the same issue, were you able to find a solution?

@ctrevarthen
Copy link

Looks like node 10 is not compatible with appium-chromedriver 3.5.2. You can try downgrading node as detailed here:

appium/appium#10609 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment