node-unzip
node-unzip copied to clipboard
Multiple 'invalid signature' errors when piping a non-file-stream
Piping in a zip stream directly from archiver, results in a series of invalid signature
errors. It seems as if all bytes in the stream are checked for a signature. On the other hand, the same zip gets extracted correctly when going through file streams first.
See @ctalkington's comments in https://github.com/ctalkington/node-archiver/issues/91. Also, here's a test case.
+1 .. Can anyone suggest an alternative library while this fails ?
Also getting this error here as well. What can we do to work around this?
@silverwind @gunish @jladuval FYI https://github.com/EvanOxfeld/node-unzip/pull/64 << works for me
Confirmed working with that fork, awesome!
This is fixed in new version https://www.npmjs.com/package/unzip2