Selenium cucumber does not run on Mac
lucfranken opened this issue · 5 comments
When I run the examples I get errors of a file not found.
$ node ./node_modules/selenium-cucumber-js/index.js
fs.js:122
throw err;
^
Error: ENOENT: no such file or directory, lstat '/Users/xxx/Software/xxx/xxx/"synchronous"}''
The full directory is correct: /Users/xxx/Software/xxx/xxx/, tested that with cd command.
It looks like "synchronous" is added behind the path but I cannot find it in the repository.
node -v
v11.0.0
npm -v
6.4.1
package.json
{
"name": "xxxx",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "cucumber-js"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"selenium-cucumber-js": "^1.6.2"
},
"dependencies": {}
}
Do you still facing this issue? @lucfranken
@stck yes: Same problem still exists. Has there been any update as I don't see one?
@lucfranken So i can't reproduce this with your environment, even with examples.
node ./node_modules/selenium-cucumber-js/index.js -f node_modules/selenium-cucumber-js/features/buy-workwear.feature
looks fine for me w/ Node 11.0.0(x64). Can you connect to your node with debugger and look for stacktrace?
@lucfranken So i can't reproduce this with your environment, even with examples.
node ./node_modules/selenium-cucumber-js/index.js -f node_modules/selenium-cucumber-js/features/buy-workwear.feature
looks fine for me w/ Node 11.0.0(x64). Can you connect to your node with debugger and look for stacktrace?
node ./node_modules/selenium-cucumber-js/index.js -f node_modules/selenium-cucumber-js/features/buy-workwear.feature
command also result in same error on windows and linux both environment. I have not checked it in macos.
Fixed. Min node version updated to 12