Open ThaKing opened 7 years ago
Seems to be a problem with your Gruntfile
. Can you post the bit relevant to the plugin here?
module.exports = function(grunt) {
grunt.initConfig({
cucumberjs: {
src: ['src/test/features/'],
options: {
format: 'html',
output: 'target/cucumber-reports/test-report.html',
theme: 'bootstrap',
debug: false,
executeParallel: true
}
}
});
grunt.loadNpmTasks('grunt-cucumberjs');
};
"dependencies": {
"async": ">=2.1.2",
"chai": "~3.5.0",
"moment": "~2.15.2",
"xmlhttprequest": "~1.8.0",
"xml": ">=1.0.1"
},
"devDependencies": {
"cucumber": ">=1.3.1",
"grunt": "~1.0.1",
"grunt-cli": "~1.2.0",
"grunt-cucumberjs": ">=0.10.12",
"protractor": "^4.0.14",
"exceljs": ">=0.2.39"
}
That's all. Same code works on Windows
Can you try running with executeParallel: false
?
Yeah, no error appear when I set executeParallel: false
OS: Ubuntu 16.04 From Windows 10 - everything OK
package.json
nodeVersion = v7.3.0 npmVersion = 3.10.10
run from cli
grunt cucumberjs --features=src/test/features/some.feature
output