anomalyco / anomalyco/opencode
Nix dev shell provides an older Bun version than required by package.json
Open
@rekram1-node is already working on this.
Since Sep 4, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
I ran into this while preparing a PR from the Nix development shell.
package.json currently requires Bun 1.3.14, but nix develop provides Bun 1.3.13. As a result, the pre-push hook fails before running the checks:
error: This script requires bun@^1.3.14, but you are using bun@1.3.13
The Nix dev shell should provide a Bun version compatible with the repository's packageManager requirement.
Plugins
None
OpenCode version
dev at 20a7743
Steps to reproduce
From the repository root, run:
nix develop
grep '"packageManager"' package.json
bun --version
git push
Screenshot and/or share link
> grep '"packageManager"' package.json
"packageManager": "bun@1.3.14",
> bun --version
1.3.13
> git push
error: This script requires bun@^1.3.14, but you are using bun@1.3.13
husky - pre-push script failed (code 1)
Operating System
NixOS 26.11 (Zokor)
Terminal
Wezterm
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.