You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UX Issue: Installation script doesn't update current shell PATH (easily worked around with source ~/.bashrc)
Critical Bug: Bun's bunfs cannot resolve module paths in PRoot, causing all core commands to fail
Error:
Error: Cannot find module '/home/arnab/.cache/opencode/node_modules/opencode-copilot-auth'
from '/$bunfs/root/src/index.js'
Working Commands: --version, --help, models, debug paths Broken Commands: run, stats, debug config (anything that loads plugins)
Severity: CRITICAL - Tool is completely unusable on this platform
Root Cause: Bun's virtual filesystem (bunfs) is incompatible with PRoot's user-space virtualization layer
Recommended Fixes:
Detect PRoot/container environments and use Node.js runtime instead of Bun
Disable bunfs via BUN_DISABLE_BUNFS=1 environment variable
Use absolute filesystem paths instead of Bun virtual paths
Add platform compatibility warnings at install time
Status: No user workaround available - Requires OpenCode team to implement PRoot compatibility
Activity
github-actions commentedon Jan 12, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if your specific case differs from these, but these issues address Bun runtime and Proot/Termux compatibility concerns.
thdxr commentedon Mar 25, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.