Skip to content
pradeepbishnoi edited this page Feb 7, 2013 · 3 revisions

One-place for solution to all the basic error what you may encounter while setting up Appium.

Error :

npm ERR! Error: ENOENT, open '/Users/pradeepbishnoi/Projects/nodejs/appium/package.json'

Command :

npm install

###Solution : execute the command 'cd appium'

i.e., change the directory where the package.json is available and then execute 'npm install'.


Error :

xcodebuild: error: SDK "iphonesimulator6.1" cannot be located.

Command :

grunt buildApp:UICatalog

###Solution : grunt buildApp:UICatalog:iphonesimulator5.1

or pass the version of your simulator (location : /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator+"Version"+.sdk).


Error :

error: Couldn't start Appium REST http interface listener. Requested port is already in use. Please make sure there's no other instance of Appium running already.

Command :

grunt functional

###Solution : kill the process which is using the port 4723. Following commands can be used for the same :

lsof -i :4723 kill