opencode
opencode copied to clipboard
Bun install package in NFS
Description
When I use opencode on NFS, bun install has hardlink/symlink-related filesystem compatibility issues, which causes some packages to fail to install correctly, resulting in opencode not functioning properly.
You can modify below code to resolve this issue.
modify bunfig.toml as below [install] exact = true backend = "copyfile"
modify packages/opencode/src/bun/index.ts as below const args = ["add", "--force", "--exact", "--backend=copyfile", "--cwd", Global.Path.cache, pkg + "@" + version]
OpenCode version
latest
Steps to reproduce
- use opencode in the NFS
Screenshot and/or share link
Operating System
ubuntu 24
Terminal
VScode remoteSSH
Could you fix this issue?