question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash or issue warnings on invalid config parameters

See original GitHub issue

By mistake I’ve setup a configuration in package.json as:

  "mocha": {
    "-R": "tests/mocha-reporter"
  }

Mocha didn’t say the word, and ignored an invalid option (it should be R instead of -R).

It’ll be great if Mocha produces some feedback on such errors, so they do not come unnoticed.

Node.js v12.3.1 Mocha: v6.1.4

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:14 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
plroebuckcommented, Jun 6, 2019

Mocha didn’t say the word, and ignored an invalid option (it should be R instead of -R).

Actually, that’s incorrect as well (and likely only working due to happy accident). It should be “reporter”, not “R”.

See example config for valid names.

0reactions
Alhadiscommented, Jun 12, 2019

Could you join Gitter? Wanted to chat on possible problems for something terminal-related.

Sorry, I forgot about this. I’ve joined.

EDIT: If I’m offline by the time you read this, please send me an e-mail. That’s always the best way to get hold of me, since I don’t use any social media. =)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Stop error or blue screen error troubleshooting - Windows Client
Learn advanced options for troubleshooting stop errors, also known as blue screen errors or bug check errors.
Read more >
Troubleshooting your configuration - Home Assistant
Problems with the configuration. One of the most common problems with Home Assistant is an invalid configuration.yaml or other configuration file.
Read more >
Detect and diagnose crashes - Android Developers
An Android app crashes whenever there's an unexpected exit caused by an unhandled exception or signal. An app that is written using Java...
Read more >
Troubleshooting CI/CD - GitLab Docs
GitLab provides several tools to help make troubleshooting your pipelines easier. This guide also lists common issues and possible solutions.
Read more >
Server Crash Reporter - Tableau Help
Important: Do not enable crash reporting if your data is subject to privacy regulations. If Tableau Server has a problem that results in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found