webdriverio-community / wdio-html-reporter

Fork of wdio-html-format-reporter
MIT License
18 stars 27 forks source link

Error on saving the Nightwatch Reporter #25

Closed Aswini2205 closed 4 years ago

Aswini2205 commented 4 years ago

I'm having a prob in saving the report in nightwatch. Let me know the solution Error: An error occurred while trying to save the report file: Error: The custom reporter file name "html-reporter.js" cannot be resolved. my json file { "name": "", "version": "1.0.0", "description": "", "main": "nightwatch.conf.js", "directories": { "test": "tests" }, "dependencies": { "chromedriver": "^77.0.0", "fs": "^0.0.1-security", "handlebars": "^4.7.3", "path": "^0.12.7" }, "devDependencies": { "geckodriver": "^1.19.1", "nightwatch": "^1.3.4", "nightwatch-html-reporter": "^2.0.6", "selenium-server": "^3.141.59" }, "scripts": { "test": "nightwatch --reporter html-reporter.js" }, "author": "Aswini", "license": "ISC" }