Giter VIP home page Giter VIP logo

Comments (5)

beeva-pedrocuello avatar beeva-pedrocuello commented on August 12, 2024

I need support fopr the same.

from appium-chromedriver.

imurchie avatar imurchie commented on August 12, 2024

This should be fixed in the latest version of appium-chromedriver.

from appium-chromedriver.

kapilsaxena avatar kapilsaxena commented on August 12, 2024

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.

beeva-pedrocuello avatar beeva-pedrocuello commented on August 12, 2024

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.

tomtom87 avatar tomtom87 commented on August 12, 2024

👍 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.