adm-zip
adm-zip copied to clipboard
Error: invalid stored block lengths. Library can't extract archive after your today's release
Error: invalid stored block lengths at Zlib.zlibOnError [as onerror] (zlib.js:187:17) at processChunkSync (zlib.js:451:12) at zlibBufferSync (zlib.js:175:12) at Object.syncBufferWrapper [as inflateRawSync] (zlib.js:786:14) at Object.inflate (node_modules/adm-zip/methods/inflater.js:6:25) at decompress node_modules/adm-zip/zipEntry.js:80:45) at Object.getData (node_modules/adm-zip/zipEntry.js:268:24) at eval (webpack://library/./routes/connectors.js?:1289:53) at Layer.handle [as handle_request] (node_modules/express/lib/router/layer.js:95:5) at next (node_modules/express/lib/router/route.js:149:13)
I can't unpack any of my production zip archives after npm install
Previous versions are not working too after your v0.5.11 update!
Production errors:
[ERROR] [Worker Running Error] Error: invalid stored block lengths
at Zlib.zlibOnError [as onerror] (zlib.js:187:17)
at processChunkSync (zlib.js:451:12)
at zlibBufferSync (zlib.js:175:12)
at Object.syncBufferWrapper [as inflateRawSync] (zlib.js:786:14)
at Object.inflate (/app/packages/node_modules/adm-zip/methods/inflater.js:6:25)
at decompress (/app/packages/node_modules/adm-zip/zipEntry.js:80:45)
at Object.getData (/app/packages/node_modules/adm-zip/zipEntry.js:268:24)
at /app/packages/node_modules/adm-zip/adm-zip.js:612:37
at Array.forEach (
It helps
We got hit with this error as well. The strange thing is only one zip out of 8 had this error, and the same zip worked in previous version of adm-zip, other zip utilities don't have a problem with the same file. This occurred in windows, and in docker images.
Same here! In my case adm-zip
is a dependency of another package which required "^0.5.0"
.
This is pulling 0.5.11 from npm ...
Fortunately I was able to pin 0.5.10 in my package.json using a "resolution"
clause.
Should be fixed now, by bd83f197f4a376f3996706d6522588f025b2fc32 v0.5.12