Skip to content

resulting archive missing file #4

@garretwilson

Description

@garretwilson

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:

"scripts" {
  "package": "jszip -o foobar.zip dist"
}

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 .

  1. Run npm install.
  2. Run npm run clean.
  3. Run npm run build.
  4. Look at the zip file generated in dist/. On my machine it is missing the file dist/css/guise-skeleton.min.css.

(If you want to simplify the build, simply change the "package" script to the one above and run npm run package after you've performed the build at least once.)

Why would jszip be ignoring files in the source directory?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions