Unable to run Appium server using the GUI interface

I’m using Mac OS X 10.9.4 and running the appium server from terminal completely ok.
I wanted to try and use the inspector, but I’m unable to run the server from the GUI interface (V1.3.1)

Once I click “Launch”, it changes to “Stop” and immediately back to “Launch”, without showing any logs or errors.

Appium doctor runs fine and without errors.

Hi,

A re-check on below might help.
Did you provide AppPath and BundleID under Settings for Mac?
And check “Pre-launch application” for the application you want to inspect

Thanks

Got it!

After being aggressive with appium and clicking multiple times on ‘launch’ button, I got the following error:

Error: Cannot find module 'Users/shlomitc/someFolder/lib/server/main.js' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:906:3

And then it hit me! I edited my .bash_profile lately to do the following command: cd ~/someFolder.
I removed it, and appium works like a charm.

I would say this is some sort of a bug, don’t you think?

Hi,

Looks like one.

Have you raised this on GitHub?

Thanks,
Sujata