Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All unzipped files are empty. #538

Open
linxingquan opened this issue Sep 9, 2024 · 4 comments
Open

All unzipped files are empty. #538

linxingquan opened this issue Sep 9, 2024 · 4 comments

Comments

@linxingquan
Copy link

All unzipped files are empty (size is 0 KB) without errors. I'm using Windows 10. It worked before with v0.5.10. I also tried v0.5.14 and v0.5.16.

@jimmyjammerX
Copy link

+1
Experiencing on linux

@kuldeep1203
Copy link

Been facing the same issue on linux

@jimmyjammerX
Copy link

All unzipped files are empty (size is 0 KB) without errors. I'm using Windows 10. It worked before with v0.5.10. I also tried v0.5.14 and v0.5.16.

Please share your code snippet or replication step.

@jlsalvador
Copy link

jlsalvador commented Dec 22, 2024

Hello,

I encountered this issue. It works correctly in version v0.5.14, not in version v0.5.16.

Replacing the promises resolves the problem in version v0.5.16:

- await zip.addLocalFolderPromise(directory);
- await zip.writeZipPromise(filename);
+ zip.addLocalFolder(directory);
+ zip.writeZip(filename);

You can reproduce this issue by cloning the referenced tinyflux repository (commit 4f28e5a0955a27311564ce9421ba28e15ac72128) and running npm run build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants