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
Detect require("mocha")
and provide helpful error.
#8
Comments
This message is coming from Browserify. Can you provide a little more context?
|
I think the issue is that I added "mocha" as a require, not fully groking how the system works. I'll try to add some examples later. You should create a Github site for this project, it's SUPER useful! |
Thanks! I've tried to add support for |
@mantoni in that case, see changes above : ) |
require("mocha")
and provide helpful error.
@indolering So you just changed the title and content of the issue completely? That's very confusing and the communication here does not make any sense to others anymore. Please don't do that. |
Should be working now. Please re-install so that you get mocaccino 0.6.3. |
Currently, having
require("mocha")
in your code produces a rather unhelpful error:Error: module "../suite" not found from ".../node_modules/mocha/mocha.js"
The text was updated successfully, but these errors were encountered: