Closed drazisil closed 6 years ago
https://github.com/cscott/compressjs/blob/f2377885d433b4de566f412f3d1089303abbd114/lib/Bzip2.js#L931
Turns out you still need to read the file, decompressFile()
doesn't open it like the name suggests.
var decompressed = algorithm.decompressFile(fs.readFileSync(compressedModlistPath));
works
I'm not sure why I'm getting this error. I can upload the file somewhere if you would like, it's 8MB
node -v
v8.9.4node_modules/.bin/compressjs -V
0.0.1 Real version: 1.0.3Here is the error:
Here is the code: