Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid reporter "html-cov" #2420

Closed
tuanlv1206 opened this issue Aug 6, 2016 · 2 comments
Closed

invalid reporter "html-cov" #2420

tuanlv1206 opened this issue Aug 6, 2016 · 2 comments

Comments

@tuanlv1206
Copy link

sudo mocha indexSpec.js --reporter html-cov
"html-cov" reporter not found
/usr/local/lib/node_modules/mocha/lib/mocha.js:164
throw new Error('invalid reporter "' + reporter + '"');
^

Error: invalid reporter "html-cov"
at Mocha.reporter (/usr/local/lib/node_modules/mocha/lib/mocha.js:164:13)
at Object. (/usr/local/lib/node_modules/mocha/bin/_mocha:209:7)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Function.Module.runMain (module.js:575:10)
at startup (node.js:160:18)
at node.js:456:3

Can anyone help me to deal with this issue? thanks a lot!

@gurdiga
Copy link

gurdiga commented Aug 6, 2016

Hey @tuanlv1206! 🙂

It looks like the html-cov was dropped since 3.0.0. 😶

@tuanlv1206
Copy link
Author

@gurdiga thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants