[Bug] Opencode crashes on second run in Termux/Proot distro (ResolveMes error) #2082

Closed
opened 2026-02-16 17:34:03 -05:00 by yindo · 2 comments
Owner

Originally created by @Ritusmin325k on GitHub (Oct 13, 2025).

Describe the bug
Opencode runs fine the first time, installing required plugins and packages. However, on the second run in Termux (any Proot distro), it fails with an unexpected error related to plugin resolution (ResolveMes).

To Reproduce
Steps to reproduce the behavior:

  1. Install Opencode in Termux using any Proot distro.
  2. Run opencode for the first time — it completes successfully.
  3. Close Opencode.
  4. Run opencode again.
  5. Observe the error.

Observed Logs (relevant snippet):
INFO service=default version=0.15.
INFO service=project directory=/root
INFO service=config path=/root/.config
INFO service=bun cmd=["/root/.opencode/..."]
installed @opencode-ai/plugin@0.15.0
3 packages installed
ERROR service=default name=ResolveMes

Expected behavior
Opencode should open and execute commands correctly on subsequent runs.

Environment:

  • OS: Termux (any Proot distro)
  • Opencode version: 0.15.0
  • Node/npm version: <your Node.js/npm version>

Additional context
The error occurs only on the second and subsequent runs. It seems related to plugin resolution or caching, as initial installations succeed.

Image
Originally created by @Ritusmin325k on GitHub (Oct 13, 2025). **Describe the bug** Opencode runs fine the first time, installing required plugins and packages. However, on the second run in Termux (any Proot distro), it fails with an unexpected error related to plugin resolution (`ResolveMes`). **To Reproduce** Steps to reproduce the behavior: 1. Install Opencode in Termux using any Proot distro. 2. Run `opencode` for the first time — it completes successfully. 3. Close Opencode. 4. Run `opencode` again. 5. Observe the error. **Observed Logs (relevant snippet):** INFO service=default version=0.15. INFO service=project directory=/root INFO service=config path=/root/.config INFO service=bun cmd=["/root/.opencode/..."] installed @opencode-ai/plugin@0.15.0 3 packages installed ERROR service=default name=ResolveMes **Expected behavior** Opencode should open and execute commands correctly on subsequent runs. **Environment:** - OS: Termux (any Proot distro) - Opencode version: 0.15.0 - Node/npm version: <your Node.js/npm version> **Additional context** The error occurs only on the second and subsequent runs. It seems related to plugin resolution or caching, as initial installations succeed. <img width="720" height="1600" alt="Image" src="https://github.com/user-attachments/assets/11bc6493-51da-4e49-841f-b6d6809eeea3" />
yindo closed this issue 2026-02-16 17:34:03 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 13, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #3143: [Bug] Opencode crashes on second run in Termux/Proot distro - this appears to be the exact same issue with very similar reproduction steps and environment

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Oct 13, 2025): This issue might be a duplicate of existing issues. Please check: - #3143: [Bug] Opencode crashes on second run in Termux/Proot distro - this appears to be the exact same issue with very similar reproduction steps and environment Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Oct 13, 2025):

closing sicne this is a duplicate

@rekram1-node commented on GitHub (Oct 13, 2025): closing sicne this is a duplicate
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2082