libarchivejs: Error: Buffer exhausted

I’m working with libarchive.js in the browser and it seems that I load the worker correctly when i try to create a ZIP using this code bit:

Screenshot 2024-01-22 at 13 22 25

I get Error: Buffer exhausted

Screenshot 2024-01-22 at 13 23 54

And in the worker reference, I get this code:

Screenshot 2024-01-22 at 13 23 59

I wanna disclaim I’m a bit in doubt about the compression and format what works together and how do i get a ZIP file

About this issue

  • Original URL
  • State: closed
  • Created 5 months ago
  • Comments: 16 (7 by maintainers)

Most upvoted comments

Fixed in 0989c1a6db20d030d793b1763e20d880068091bd

I was able to reproduce it, I’ll try to investigate