-
Notifications
You must be signed in to change notification settings - Fork 374
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
AdmZip#toBuffer() leads to RangeError [ERR_INVALID_OPT_VALUE] #218
Comments
This issue has hit us too. |
Same with 0.4.9 with different error:
Any hints to bypass this ? |
Ok, I found a solution (or a workaround ?!)
instead of Notice the U in writeUInt32LE For me it fixes the bug. Jean-marc |
Same issue on my project. |
hi @mfrancois , did you try the fix explains above ? Did that solve your problem ? |
Hi @jmcollin78 , |
@mfrancois I understand. I have the idea to switch too, but this module is the only which can zip and unzip. In my case, i need both feature. I will wait a few for contributors before switching ... |
Change writeInt32LE to writeUInt32LE as explain in issue cthackers#218
Here you will find a fork that is fixing the issue: https://github.com/jmcollin78/adm-zip it is published with the following name:
|
Fix issue #218 - urgent merge and release needed please !
Issue is solved with version 0.4.11 Thanks to all 👍 |
Hi,
starting with version 0.4.8 I get the following error with AdmZip#toBuffer():
RangeError[ERR_INVALID_OPT_VALUE]: The value "2884517930" is invalid for option "value".
Up to version 0.4.7 it worked excellently. Enclosed a Typescript code snippet.
adm-zip-error.zip
Thank you
Thorsten
The text was updated successfully, but these errors were encountered: