Cannot unzip powershell zipped folders
requireyan opened this issue · 4 comments
requireyan commented
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)
thejoshwolfe commented
Sounds like same issue as #66 (comment) . can you confirm the version of .NET you're using?
requireyan commented
4.5 - 4.6 win 10
thejoshwolfe commented
thanks! this i'll get a fix for this published shortly.
thejoshwolfe commented
published yauzl 2.10.0 which replaces backslashes by default. let me know if this solves your problem.