Skip to content
This repository was archived by the owner on Sep 19, 2026. It is now read-only.
This repository was archived by the owner on Sep 19, 2026. It is now read-only.

Installer rejects Bun 1.4.0 because it requires exactly 1.3.14 #54

Description

@shunkakinoki

Description

The v0.1.2 installation preflight rejects Bun 1.4.0 because it requires Bun 1.3.14 exactly.

Steps to Reproduce

  1. Install or select Bun 1.4.0.
  2. Run the documented v0.1.2 tagged installer command:
test "$(curl -fsSL --connect-timeout 10 --max-time 60 --retry 3 --retry-delay 1 --retry-max-time 60 --proto '=https' --tlsv1.2 https://raw.githubusercontent.com/hraness/hra/v0.1.2/src/install-preflight-runtime.ts | bun -e 'const[a,h]=process.argv.slice(1); const b=await Bun.stdin.bytes(); const d=new Bun.CryptoHasher("sha256").update(b).digest("hex"); if(d!==h)throw new Error("The tagged HRA preflight digest is invalid."); const j=new Bun.Transpiler({loader:"ts",target:"bun"}).transformSync(b); const u=URL.createObjectURL(new Blob([j],{type:"text/javascript"})); try{const m=await import(u); await m.installHraRelease(a); process.stdout.write(`${m.HRA_INSTALL_SUCCESS}\\n`); }finally{URL.revokeObjectURL(u)}' -- https://github.com/hraness/hra/releases/download/v0.1.2/hraness-hra-0.1.2.tgz 94619dce95717acb7bb54f963a38417808a3983b90d18de8031d9819ae283933)" = hra-install-safe

Expected Behavior

The installer either accepts a supported newer Bun release or provides an installation path that does not require manually downgrading Bun.

Actual Behavior

Installation stops before staging:

InstallPreflightError: HRA installation requires Bun 1.3.14 exactly.
    at installHraRelease (...:2236:11)

Environment

  • HRA: v0.1.2
  • Bun: 1.4.0
  • OS: macOS 26.6.2 (25G83)
  • Architecture: arm64

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