max-mapper / extract-zip

Zip extraction written in pure JavaScript. Extracts a zip into a directory.
BSD 2-Clause "Simplified" License
391 stars 127 forks source link

Invalid non-string/buffer chunk #50

Open PavelPikat opened 7 years ago

PavelPikat commented 7 years ago

Hi, I'm getting Invalid non-string/buffer chunk error on any .zip file I've tested.

I'm passing a path to the file, like so

 var extract = require('extract-zip')
 extract('c:\\Builds\\test.zip', {dir:'C:\\Builds'}, (err) => {
      console.log(err);
    })

Any ideas what can go wrong?