thejoshwolfe / yauzl

yet another unzip library for node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot unzip powershell zipped folders

requireyan opened this issue · comments

Compress-Archive myfolderpath\* mycompressed.zip

Unzipping with yauzl gives an error:

Error: invalid characters in fileName: folder\file.js
    at ...\node_modules\yauzl\index.js:413:70
    at ...\node_modules\yauzl\index.js:618:5
    at ...\node_modules\fd-slicer\index.js:32:7
    at FSReqWrap.wrapper [as oncomplete] (fs.js:614:17)

Sounds like same issue as #66 (comment) . can you confirm the version of .NET you're using?

4.5 - 4.6 win 10

thanks! this i'll get a fix for this published shortly.

published yauzl 2.10.0 which replaces backslashes by default. let me know if this solves your problem.