max-mapper / extract-zip

Zip extraction written in pure JavaScript. Extracts a zip into a directory.
BSD 2-Clause "Simplified" License
388 stars 126 forks source link

Error: end of central directory record signature not found #115

Open Ilthizam opened 3 years ago

Ilthizam commented 3 years ago

``

err
rpatrick00 commented 3 years ago

I saw this same error but the cause in my case was that the previous step that was downloading the zip file had not completed prior to calling extract. If you can open the zip file with WinZip or 7zip, the file is probably ok and maybe you have a timing problem.

fishcharlie commented 2 years ago

Same issue. I have a file that I downloaded using the AWS CLI aws s3 cp, then ran npx extract-zip file.gz, and it produced the same error.

Should also mention, I can uncompress this file fine on my Mac by double clicking it.

ideadesignmedia commented 2 years ago

I am experiencing the same issue

simPod commented 1 year ago

downloading the zip file had not completed prior to calling extract

this was it

sGambolati commented 1 year ago

Any solution to this issue? I get the same error when I've downloaded the file from S3 and also file can be exported with other tools.