The `cd "$core_dir"` for npm install changed cwd, so the trailing `du -sh "$stage_dir"` (with stage_dir as relative path) failed: du: cannot access 'dist/u-claw-portable-windows-v2.1.3' Fix: prefix stage_dir with $(pwd) so it's absolute. Surfaced by v2.1.3 release run that successfully npm-installed all 764 packages in 70s but exited 1 on the cosmetic du line.