npm test mocha fails #609

ghost opened this Issue Oct 11, 2012 · 1 comment


None yet

1 participant


I tried to find if this was already reported, so please accept my apolgoies if this has already been reported. I just installed mocha 1.6.0 via npm (v.0.8.11) and then ran npm test mocha. I received the following error:

> mocha@1.6.0 test /root/node_modules/mocha
> make test-all

  return binding.stat(pathModule._makeLong(path));
Error: ENOENT, no such file or directory 'test/acceptance/interfaces/bdd.js'
    at Object.fs.statSync (fs.js:524:18)
    at lookupFiles (/root/node_modules/mocha/bin/_mocha:387:17)
    at /root/node_modules/mocha/bin/_mocha:264:24
    at Array.forEach (native)
    at Object.<anonymous> (/root/node_modules/mocha/bin/_mocha:263:6)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.runMain (module.js:492:10)
    at process.startup.processNextTick.process._tickCallback (node.js:244:9)
make: *** [test-bdd] Error 1
npm ERR! Test failed.  See above for more details.
npm ERR! not ok code 0
tj commented Oct 15, 2012

do a git clone, tests are not included in the published project

@tj tj closed this Oct 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment