ReviewOS

stacks/bunfig

npm install fails transitively: clapp/clarity postinstall uses `bunx git-hooks`

#1451
Open jssblck opened this 9 days ago ·
9 days ago

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-hooks

Reproduction

npm install -g bunfig

Actual result

Install exits with code 1 while running @stacksjs/clapp postinstall.

Expected result

bunfig should install successfully via npm.

Upstream issues filed

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

Sign in to comment on this issue.