Skip to content

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

@jssblck

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions