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

Helpful exception for missing ext:module #576

Closed
wants to merge 1 commit into from
Closed

Helpful exception for missing ext:module #576

wants to merge 1 commit into from

Conversation

Yasumoto
Copy link

@Yasumoto Yasumoto commented Sep 7, 2012

It'd be nice to go away with the below message to something that was more explicit:

[tw-mbp13-jsmith mocha (master)]$ ./bin/mocha --compilers epicwin

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Cannot read property '0' of undefined
at /Users/jsmith/Documents/mocha/bin/_mocha:247:10
at Array.forEach (native)
at Object. (/Users/jsmith/Documents/mocha/bin/_mocha:242:19)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Array.0 (module.js:479:10)
at EventEmitter._tickCallback (node.js:192:40)

@tj
Copy link
Contributor

tj commented May 23, 2013

dont want to optimize for transpilers

@tj tj closed this May 23, 2013
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

Successfully merging this pull request may close these issues.

None yet

2 participants