Summary
npm install for bunfig fails because transitive dependencies run failing postinstall scripts:
@stacksjs/clapp->bunx git-hooks@stacksjs/clarity->bunx git-hooks && bun ./scripts/postinstall.ts
The failing part is:
error: could not determine executable to run for package git-hooksReproduction
npm install -g bunfigActual result
Install exits with code 1 while running @stacksjs/clapp postinstall.
Expected result
bunfig should install successfully via npm.
Upstream issues filed
- clapp: https://github.com/stacksjs/clapp/issues/1543
- clarity: https://github.com/stacksjs/clarity/issues/2296
Request
After the upstream fixes are released, please update bunfig dependencies so npm consumers stop hitting this install failure.
Environment
- macOS 15.3 (Darwin 25.3.0)
- Node v22.18.0
- npm 10.9.3
- Bun present on PATH