Closed bi-kai closed 6 years ago
unzip a file with unzip2 comes error:
unzip2
events.js:160 throw er; // Unhandled 'error' event ^ Error: invalid distance code at Zlib._handle.onerror (zlib.js:370:17)
but I can unzip it with winrar and 7z correctly.
winrar and 7z
if i unzip that zip file with 7z and rezip it, unzip2 will unzip correctly. I wander what's the format error, why 7z could handle, but unzip2 not.
7z
I'm using decompress module now, ant it's fine.
decompress
unzip a file with
unzip2
comes error:but I can unzip it with
winrar and 7z
correctly.if i unzip that zip file with
7z
and rezip it,unzip2
will unzip correctly. I wander what's the format error, why7z
could handle, butunzip2
not.