node-bestzip icon indicating copy to clipboard operation
node-bestzip copied to clipboard

Failed to unzip after build is made in VM

Open etrubek opened this issue 4 years ago • 3 comments

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.

etrubek avatar Sep 10 '20 14:09 etrubek