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
Errors if growlnotify is not in path on mac #3067
Comments
Same here: |
I've been running Mocha 4 on Mac without use of The requirement for the Mocha upgraded from Growl 1.9.2 to 1.10.2/1.10.3 in Mocha 4.0.0/4.0.1, which may affect this, although the readme for Growl appears to have been the same before: tj/node-growl@v1.9.2...master#diff-1e290ac8433d555bce009b162cb869d0 Perhaps the fact that Growl didn't use Mocha doesn't appear to have changed how Growl is used, only the version: v3.5.3...v4.0.1 I'm not sure whether there's anything Mocha can change in its Growl usage that would prevent needing |
I am not running mocha with —growl. |
Hmm, that's surprising -- I'm trying to think of what could be different between our Macs that would affect this... Unless -- does it happen with a new empty project too? (Thinking to differentiate "it's something different about the system/environment" from "it's something different about the project".) |
It is only this specific project: https://github.com/mqttjs/MQTT.js |
Aha -- here's where When I have some time to spare I'll see if I can verify using Growl directly (bypassing Mocha) that 1.10.x changed the |
Definitely that's the problem. |
Is there a work around on this? I'm running into the same issue on a newly created project as well. |
Not sure if this is the same issue or a new one, but I get the following error when trying to run mocha...
Here is the project I am woking on... |
On Windows 10 with node 8.9.0, npm-mocha 1.0.4 and mocha 4.0.1
occurs with and without mocha.opts containing:
|
I fixed mine it by exempting node_modules from the test command like so > mocha './{,!(node_modules)/**/}*test.js' |
If you use a Mac, install TerminalNotifier to enable Growl functionality. |
Prerequisites
common mistake
labelnode node_modules/.bin/mocha --version
(Local) andmocha --version
(Global). We recommend avoiding the use of globally installed Mocha.Description
As titled.
Steps to Reproduce
Expected behavior: no error
Actual behavior:
Reproduces how often: 100%
Versions
4.0.1, worked fine on 3.
The text was updated successfully, but these errors were encountered: