Closed
Description
With the latest version 2.2.0
the following code produces a zip file that OS X's Archive Utility cannot open:
var yazl = require('yazl');
var fs = require('fs');
var zipfile = new yazl.ZipFile();
var ostream = fs.createWriteStream('out.zip');
zipfile.outputStream.pipe(ostream);
zipfile.addBuffer(new Buffer('hello'), 'hello.txt');
zipfile.end();
System log
26/03/15 20:51:23.972 Archive Utility[29825]: bomCopierFatalError:Couldn't read pkzip signature.
26/03/15 20:51:23.973 Archive Utility[29825]: bomCopierFatalError:Not a central directory signature
Metadata
Metadata
Assignees
Labels
No labels