ffflorian / node-packages

My Node.js packages
GNU General Public License v3.0
11 stars 3 forks source link

jszip-cli: no files were compressed #697

Closed Rebuilding127 closed 2 weeks ago

Rebuilding127 commented 3 weeks ago

Here is my script: jszip-cli add -o ./dist.zip ./dist/

When I use the package "@ffflorian/jszip-cli": "^3.6.2", it works. But when I use the latest version "@ffflorian/jszip-cli": "^3.7.1", it not works.

Why?

ffflorian commented 3 weeks ago

@Rebuilding127 thanks for the report, I'll check.

canstand commented 3 weeks ago

Same issue. -V show this:

ℹ️  jszip-cli/BuildService TypeError: fs.lstat is not a function
    at BuildService.checkEntry (file:///C:/Users/xxx/node_modules/.pnpm/@ffflorian+jszip-cli@3.7.1_typescript@5.5.4/node_modules/@ffflorian/jszip-cli/dist/BuildService.js:118:33)
ffflorian commented 2 weeks ago

Fixed in 47057ec796d67e2ba9710f4bc5423d4f840eee0c and released in v3.7.2.