-
Notifications
You must be signed in to change notification settings - Fork 1
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
How to get mocha in the search path of mocha-ui #2
Comments
npm install -g mocha "should" work. Nvm should have the global dir added to PATH. If it doesn't, Am 5. November 2015 08:13:16 schrieb Steve Wagner notifications@github.com:
|
Hmm, it dose not. I already did "npm install -g mocha" and can run mocha directly in iTerm2. I get this error even when I run atom via "atom ." from my test directory. |
hey, |
works! Thanks very much. |
Btw: Wouldn't it to prefer the mocha from local node_modules/.bin if available? |
Hi again ;) it is done, should use the local mocha with full path, so no PATH is needed. But keeps the global mocha as a fallback |
When I open "mocha-ui" I get the following error: "sh: mocha: command not found". I think the problem is that mocha is not in the search path of mocha-ui. The question is how to get it there? Sidenote: I use node and mocha with NVM.
The text was updated successfully, but these errors were encountered: