juanfran / gulp-multi-process

Run gulp tasks in separate CPU processes
25 stars 11 forks source link

Error: spawn UNKNOWN when using on windows #3

Closed josdejong closed 7 years ago

josdejong commented 7 years ago

Thanks for writing gulp-multi-process, it really speeds up my builds!

When I use gulp-multi-process on windows though, an error is thrown:

[19:34:53] Error: spawn UNKNOWN
    at exports._errnoException (util.js:1022:11)
    at ChildProcess.spawn (internal/child_process.js:313:11)
    at exports.spawn (child_process.js:387:9)
    at C:\Users\jos\tmp\jsoneditor\node_modules\gulp-multi-process\index.js:10:18
    at Array.forEach (native)
    at gulpMultiProcess (C:\Users\jos\tmp\jsoneditor\node_modules\gulp-multi-process\index.js:9:9)
    at Gulp.<anonymous> (C:\Users\jos\tmp\jsoneditor\gulpfile.js:263:10)
    at module.exports (C:\Users\jos\tmp\jsoneditor\node_modules\orchestrator\lib\runTask.js:34:7)
    at Gulp.Orchestrator._runTask (C:\Users\jos\tmp\jsoneditor\node_modules\orchestrator\index.js:273:3)
    at Gulp.Orchestrator._runStep (C:\Users\jos\tmp\jsoneditor\node_modules\orchestrator\index.js:214:10)

Would be great if gulp-multi-process would work on windows too.

juanfran commented 7 years ago

Thanks for your feedback and sorry for the delay. Now it works on windows.

josdejong commented 7 years ago

That's great! No need to apologize at all, thanks for creating and sharing this library!

josdejong commented 7 years ago

b.t.w. I think you made a mistake with version numbering:

     '0.0.1': '2015-11-24T20:01:36.146Z',
     '0.0.2': '2015-11-25T16:02:44.197Z',
     '0.0.3': '2016-04-13T16:06:19.951Z',
     '0.1.0': '2016-11-23T15:46:53.036Z',
     '0.0.4': '2017-01-17T18:17:04.974Z' 

So I suppose the latest version should have been 0.1.1 instead of 0.0.4.