I can't get this module to work. Every time I try to run the gulp task I get this error in my console:
➜ BC git:(spawn-mocha gulp test-mocha
[19:46:47] Using gulpfile /mnt/BC/gulpfile.js
[19:46:47] Starting 'test-mocha'...
events.js:85
throw er; // Unhandled 'error' event
^
Error: spawn /mnt/BC/node_modules/spawn-mocha-parallel/node_modules/.bin/mocha ENOENT
at exports._errnoException (util.js:746:11)
at Process.ChildProcess._handle.onexit (child_process.js:1046:32)
at child_process.js:1137:20
at process._tickCallback (node.js:355:11)
Here's the code trying to run it:
'use strict';
var gulp = require('gulp');
var mochaStream = require('spawn-mocha-parallel').mochaStream;
var mocha = mochaStream({concurrency: 10});
gulp.task('test-mocha', 'Runs the integration tests, in parallel!', function () {
return gulp.src('test/integration/aaa.js', {read: true})
.pipe(gulp.dest('aaaa'))
.pipe(mocha)
.on('error', console.error);
});
Do you have any idea why it is throwing back this ENOENT every time?
I can't get this module to work. Every time I try to run the gulp task I get this error in my console:
Here's the code trying to run it:
Do you have any idea why it is throwing back this
ENOENTevery time?