Skip to content

zola-bin-linux@0.17.3 - Fix SpawnSync EACCESS error

Compare
Choose a tag to compare
@U-C-S U-C-S released this 12 Mar 23:55
· 33 commits to main since this release

This is a hotfix release

  • Fixes SpawnSync EACCESS error when running npx zola-bin cmds in linux platform

Reason

Currently, npm publish and npm pack --pack-destination {DEST} for some reason removes the execution permissions of the bundled binary and won't let bin execute when unpacked. Cause can be specific to my OS (WSL/Debian) or npm itself (in which case needs to be reproduced and made an issue in npm/cli repo later).
Fixed it after just doing running cmds npm pack and npm publish {PATH TO TARBALL} independently, which somehow fixed it, unlike previously where I directly used npm publish which also does packing.