Unable to parse cucumberjs output into json: './cukereport.json' { Error: ./cukereport.json: ENOENT: no such file or directory, open './cukereport.json' at Object.openSync (fs.js:439:3) at Object.readFileSync (fs.js:344:35) at Object.readFileSync (D:\cpCucumberJSE2E\node_modules\jsonfile\index.js:67:22) at isValidJsonFile (D:\cpCucumberJSE2E\node_modules\cucumber-html-reporter\lib\reporter.js:443:48) at Object.generate (D:\cpCucumberJSE2E\node_modules\cucumber-html-reporter\lib\reporter.js:465:9) at Object.generateReport [as generate] (D:\cpCucumberJSE2E\node_modules\cucumber-html-reporter\index.js:30:21) at Object.<anonymous> (D:\cpCucumberJSE2E\index.js:21:10) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) errno: -4058, syscall: 'open', code: 'ENOENT', path: './cukereport.json' }
Unable to parse cucumberjs output into json: './cukereport.json' { Error: ./cukereport.json: ENOENT: no such file or directory, open './cukereport.json' at Object.openSync (fs.js:439:3) at Object.readFileSync (fs.js:344:35) at Object.readFileSync (D:\cpCucumberJSE2E\node_modules\jsonfile\index.js:67:22) at isValidJsonFile (D:\cpCucumberJSE2E\node_modules\cucumber-html-reporter\lib\reporter.js:443:48) at Object.generate (D:\cpCucumberJSE2E\node_modules\cucumber-html-reporter\lib\reporter.js:465:9) at Object.generateReport [as generate] (D:\cpCucumberJSE2E\node_modules\cucumber-html-reporter\index.js:30:21) at Object.<anonymous> (D:\cpCucumberJSE2E\index.js:21:10) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) errno: -4058, syscall: 'open', code: 'ENOENT', path: './cukereport.json' }
Conf.JS:
format: 'json:.tmp/results.json',
index.js `var reporter = require('cucumber-html-reporter');
var options = { theme: 'bootstrap', jsonFile: './cukereport.json', output: './cucumber_report.html', reportSuiteAsScenarios: true, ignoreBadJsonFile: true, brandTitle: 'E2E Report', launchReport: true,`