Skip to content

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

Description

@jssblck

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions