SetUp Appium With Node JS IOS

I am trying to set up my environment and run scripts using Appium and node as a client. So far I have been able to use Java to run test before.

Running Mac

  1. I installed node
  2. installed appium
  3. started appium server
  4. Started npm webdriver-standalone server
  5. Created package.json included dev dependencies.
  6. Started appium
    7 Downloaded node sample code
    I am trying to write script in node I used platformName: ‘iOS’,
    platformVersion: ‘6.1’,
    deviceName: ‘iPhone Simulator’,
    app: ‘/UsersAppiumNow/App/WebViewApp’

Unable to run with the required capabilities. Is there another way to setup the capabilities using node?

Can you post the node script?