-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resulting archive missing file #4
Comments
There are three similarly-named files in the source directory:
Most of the time it will skip If I delete This is very weird and unpredictable. |
I wound up switching to cross-zip-cli. This also solved issue #3 for me. |
Same issue here. I'm switching to https://github.com/ffflorian/jszip-cli instead. |
The previous choice had a really nasty bug... Le0Michine/jszip-cli#4
I think I've found the cause of the problem:
In my case, I found it was consistently the last or the last two files that were skipped. The order that the files are processed can vary, so it's not always the same file. I believe the heart of the problem is that the check of Since it looks like nobody's home here, I too shall be looking for a different solution. |
Same issue. Switched to |
This is the strangest thing: I'm zipping up a
dist
directory using npm, and jszip is skipping a file. I'm using Windows 10 Professional 64-bit.The npm script in my
package.json
is simple:The files are inside
dist/css
. There are 27 files. It always skips one of them,guise-skeleton.min.css
. Sometimes it skips two of them. I can see no rhyme or reason for this.You can test this using the repository commit globalmentor/guise-skeleton@a5ad853 .
npm install
.npm run clean
.npm run build
.dist/
. On my machine it is missing the filedist/css/guise-skeleton.min.css
.(If you want to simplify the build, simply change the
"package"
script to the one above and runnpm run package
after you've performed the build at least once.)Why would jszip be ignoring files in the source directory?
The text was updated successfully, but these errors were encountered: