Skip to content

fix(assistant): install Bun 1.4 when the VM has an older one - #12

Merged
opencraftdev merged 1 commit into
mainfrom
fix/assistant-install-bun
Nov 12, 2026
Merged

opencraftdev merged 1 commit into
mainfrom
fix/assistant-install-bun

Conversation

@mrayandika15

Copy link
Copy Markdown
Collaborator

A real run of scripts/install-assistant.sh on an Ubuntu VM failed at bun install --frozen-lockfile: error: Unknown lockfile version. The VM had Bun 1.3.14, and the script skipped Bun whenever any bun was on PATH, while bun.lock (lockfile v2) needs Bun 1.4 (packageManager: [email protected]).

The script now checks the version as install.sh does and, below 1.4, installs Bun's own build into ~/.bun (first on the script's PATH), then stops with a clear message if an older Bun still wins.

bash -n passes; scripts/install-assistant.test.ts 3/3.

🤖 Generated with Claude Code

The checkout's bun.lock (lockfile v2) needs Bun 1.4. The install script
skipped Bun whenever any bun was on PATH, so a VM with Bun 1.3 failed at
bun install with "Unknown lockfile version". Check the version as
install.sh does and install Bun's own build into ~/.bun when it is older.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants