Hi All, I was using appium 1.4.13 till yesterday. Everything worked well till then I was able to run selenium hub and register node to it using following command.
node appium -a localhost -p 4567 --udid f373abcc456aa185c042c2d49be8b11bebbf446b --tmp /tmp/ipad --nodeconfig "/Users/arun/Desktop/Node/device1.json" -g "/Users/arun/Desktop/Node/device1.json/device1.log" --session-override
But after after updating the appium to 1.5.3 I am unable to that. when I am running the above command. It shows up the following error
/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/appium.js:1
(function (exports, require, module, filename, dirname) { import _ from 'lodash';
^^^^^^
SyntaxError: Unexpected token import
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:511:25)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:456:32)
at tryModuleLoad (module.js:415:12)
at Function.Module._load (module.js:407:3)
at Function.Module.runMain (module.js:575:10)
at startup (node.js:159:18)
at node.js:444:3
Can you please let me how can I resolve this and register node to hub.