Got stuck in apium setup for MAC OS.

1,286 views
Skip to first unread message

Shailendra Singh

unread,
Jun 15, 2013, 1:39:27 PM6/15/13
to appium-...@googlegroups.com
I followed below steps;

1 , Taken a fresh Mac OS.
2. Installed Homebrew on that.
3.run brew install node (to install node.js) (Got Success)
4.mkdir appium-test && cd appium-test (Got Success)
5.npm install -g appium (Got Success with some warning)
6.sudo authorize_ios  (Failed with error 'sudo' command not found)
7.npm install wd (Success)
9.appium & (Failed with error Appium command not found)
10.node simplest.js (Failed)

Interested to know what wrong I have done.

I want to use appium to test a web application on IOS. First need help to setup and then verify the setup.

I need below information from this group to test my web Application on IOS simulator

1) correct steps to follow to step Appium on Mac OS.
2) How to verify that it got setup properly.
3) To write test cases in java ,what other software/Application need to install on Mac (Do I need to have Selenium, Eclipse or any other software), I want to know what editor to use to write cases.And how to start write cases using appium framework
4)How to get execution result in HTML format.


I am new to APPIUM so need some guidance from experts to start.

Thanks in Advance.

Al Villaflor

unread,
Jun 15, 2013, 6:11:03 PM6/15/13
to appium-...@googlegroups.com
Does not look like your appium did get installed completely.  The appium binary would've been normally installed on /usr/local/bin if the install completed successfully.

? Why did your sudo failed? A proper OS install would have known what/where sudo is.
? check your PATH and see if you have /usr/local/bin

siva rapaka

unread,
Jan 15, 2014, 10:12:53 AM1/15/14
to appium-...@googlegroups.com
Hi I am facing the same issue here. Did you guys find out what is the problem.

Kamesh Velu

unread,
Jan 15, 2014, 1:10:50 PM1/15/14
to appium-...@googlegroups.com
I had some issue with Appium when i launch inspector and i doubted this could be improper node installation. So i uninstalled the node i had, also removed macports and all mac ports related files as it was conflicting with brew. Then installed node with out using sudo

1. Remove macports and files http://guide.macports.org/chunked/installing.macports.uninstalling.html
2. Remove ~/.npm  & ~/.nvm dirs
3. sudo rm /usr/local/bin/node /usr/local/bin/npm /usr/local/lib/node_m*
4. make sure you don't have DYLD_* set in your bash profiles
5. do brew update and run bre doctor and fix any errors

$ brew upgrade
$ brew doctor
$ brew install node
$ brew link node
$ npm install -g appium
$ npm install wd
$ appium &

Hope this works for you. I did this on my MBP running 10.9.1


Reply all
Reply to author
Forward
0 new messages