Comments (5)
I need support fopr the same.
from appium-chromedriver.
This should be fixed in the latest version of appium-chromedriver
.
from appium-chromedriver.
I am on MAC OSX 10.11.3
Tried command npm install -g appium and it is throwing error
Error trying to install Chromedriver binary. Waiting and trying again.
Unable to import install script. Re-run install appium-chromedriver
manually.
...
...
then saw another error
...
Selendroid setup files did not yet exist, waiting...
Selendroid setup files did not yet exist, waiting...
Tried too many times to install selendroid, failing
/usr/local/lib/node_modules/appium/node_modules/appium-selendroid-driver/bin/install.js:18
throw err;
^
TypeError: fn must be a function
See http://goo.gl/916lJJ
at Function.Promise.promisify (/usr/local/lib/node_modules/appium/node_modules/bluebird/js/main/promisify.js:268:15)
at Object.<anonymous> (/usr/local/lib/node_modules/appium/node_modules/appium-support/build/lib/fs.js:141:35)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/local/lib/node_modules/appium/node_modules/appium-support/build/lib/tempdir.js:12:11)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/local/lib/node_modules/appium/node_modules/appium-support/build/index.js:11:19)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/local/lib/node_modules/appium/node_modules/appium-selendroid-installer/build/lib/setup.js:21:22)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
from appium-chromedriver.
Hi,
I have solved this very easy, the trouble is not the version of chromedriver or appium the proble is you don't have to install npm by "sudo" because appium won't work...
I copy the solution that i found from a comment of the user: "deepak" solution worked very well for me:
http://stackoverflow.com/questions/22374416/how-to-setup-appium-in-ubuntu-for-android
Do not install nodejs through apt-get, which will need sudo rights and appium will not work if node is installed as sudo user. If you have already installed remove it using
sudo apt-get remove nodejs
sudo apt-get remove npm
Download latest nodejs linux binaries form http://nodejs.org/download/
Extract into a folder that doesn't need sudo rights to access, for example your home folder.
tar -xvf <downloaded_binary_tar.gz>
Add the following line to your ~/.bashrc file.
export PATH=$PATH:<full_path_of_the_extracted_node_folder>/bin
Open a now terminal and do
npm install -g appium
appium
Best regards,
from appium-chromedriver.
👍 yes sorry guys I forgot this ticket, I fixed this also by using a root installation. Please try what @beeva-pedrocuello suggests and start appium as so
# Osx Users
$ brew install node
# Linux Users
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash
$ sudo npm install -g appium
$ appium &
$ mocha tests.js
from appium-chromedriver.
Related Issues (20)
- Action required: Greenkeeper could not be activated 🚨
- Original error: unknown error: unable to discover open pages HOT 1
- Appium session times out after a long time waiting to interact with the Chrome browser HOT 2
- Chromedriver needs updating HOT 1
- Unable to use chromedriver_autodownload HOT 7
- Need update on npm HOT 5
- Test Script not able to locate element on Real Device post switching to webview of a hybrid app. HOT 9
- Cannot install - Socket Hang Up [OSX 10.11.4] HOT 1
- Expose all the arguments of chromedriver. HOT 2
- startSession() should have restartAdb logic as present in previous versions of appium HOT 1
- Trying to use a chromedriver binary at the path /Users/automation/.appium/node_modules/appium-device-farm/chromedriver/chromedriver_mac64_v124.0.6367.207, but it doesn't exist! HOT 1
- Issue in installing appium on mac through terminal window nom install appium command HOT 8
- Node install failure on version 2.9.2 HOT 4
- Unit tests are failing on gulp.once HOT 5
- Error with chromedriver when installing appium HOT 7
- ChromeDriver cannot switch context to webview in another app HOT 8
- Add Support for Installing Chromedriver 2.23+ on OS X HOT 5
- The Added Support for Installing Chromedriver 2.23+ on OS X HOT 8
- Error with chromedriver when installing appium1.6.0 HOT 12
- Action required: Greenkeeper could not be activated 🚨
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appium-chromedriver.