Closed vatula closed 6 years ago
I'm assuming you aren't running gulp with the CLI because it attaches an error handler for that emitted event. Your stack trace is saying that the emitted error
event is uncaught (and thus has no listener). Gulp doesn't and can't support the use case of running without the CLI because the CLI does a lot of changes to the environment.
This line: https://github.com/gulpjs/undertaker/blob/47be43fe25dcd73c797732ddea5227f242478102/lib/helpers/createExtensions.js#L65
causes my stacktrace to look like this
The underlying error has being thrown with
JSON.stringify
method:Another underlying error that triggered the same unintelligible stack trace:
util.inspect
is what I used just before aforementioned string (createExtensions.js#L65
) to get the error description. I don't know if it's a properfix
for this issue. It probably isn't. The error is displayed correctly when there is no gulp in the pipeline.