Closed zgj233 closed 5 years ago
Hmm, are you able to provide the code/image that reproduces this? I wonder if it's just a matter of handling stderr.once('error', ...)
here: https://github.com/papandreou/node-pngquant/blob/8a6cec532def96f5f54d8005b4b64e62362705cb/lib/PngQuant.js#L90
Closing for inactivity, please reopen with reproduction steps if it's still an issue.
Debugger attached. internal/streams/legacy.js:59 throw er; // Unhandled stream error in pipe. ^
Error: Saw pngquant output on stderr: ND<~C{!"D?B<C{;r>m1jSo7(2;U}H7!#