Open jeremypenner opened 6 years ago
My project has appium 1.6.5 installed as a dev dependency, but wdio-appium-service tries to launch a globally-installed appium. Narrowed the problem down to this line of code:
https://github.com/rhysd/wdio-appium-service/blob/master/lib/launcher.js#L111
fs.statSync(cmd).isFile() would be more appropriate, as fs.lstatSync(cmd).isFile() returns false for symbolic links to files.
fs.statSync(cmd).isFile()
fs.lstatSync(cmd).isFile()
My project has appium 1.6.5 installed as a dev dependency, but wdio-appium-service tries to launch a globally-installed appium. Narrowed the problem down to this line of code:
https://github.com/rhysd/wdio-appium-service/blob/master/lib/launcher.js#L111
fs.statSync(cmd).isFile()
would be more appropriate, asfs.lstatSync(cmd).isFile()
returns false for symbolic links to files.