node-bestzip
node-bestzip copied to clipboard
Failed to unzip after build is made in VM
Issue Occurs since version 2.1.6. After building the zip in the VM, unzipping it fails on the following error: java.io.FileNotFoundException: /tmp/app/10000243/code/913aece8-2086-4464-9482-6cf626d5a5b1/static/css/6.447b365d.chunk.css (No such file or directory)
Additional info
-
Commands used inside the VM: nvm use 12.14.1 npm install npm run build:zip
-
Script commands from json package: "scripts": { "zip": "cd build && npx bestzip bundle.zip * && cd ..", "build:zip": "cross-env npm run build && npm run zip" }
-
After building the zip using the same commands from local env the unzipping works fine.