Can't start or upgrade v1.0.181 #3712

Closed
opened 2026-02-16 17:41:11 -05:00 by yindo · 6 comments
Owner

Originally created by @NazmiAltun on GitHub (Dec 20, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

When i try to run it in the terminal, it get this error

Configuration is invalid: No primary agents are available. Please configure at least one agent with mode 'primary' or 'all'.

Upgrade also doesn't work. So I am kinda stuck. How can i make it work?

OpenCode version

1.0.181

Steps to reproduce

  1. Just run opencode in the terminal.

Screenshot and/or share link

Image

Operating System

macOs 26.2

Terminal

Ghostty

Originally created by @NazmiAltun on GitHub (Dec 20, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description When i try to run it in the terminal, it get this error > Configuration is invalid: No primary agents are available. Please configure at least one agent with mode 'primary' or 'all'. Upgrade also doesn't work. So I am kinda stuck. How can i make it work? ### OpenCode version 1.0.181 ### Steps to reproduce 1. Just run opencode in the terminal. ### Screenshot and/or share link <img width="1889" height="465" alt="Image" src="https://github.com/user-attachments/assets/3b03dbb0-eb98-4762-90f6-455297671dcf" /> ### Operating System macOs 26.2 ### Terminal Ghostty
yindo added the bug label 2026-02-16 17:41:11 -05:00
yindo closed this issue 2026-02-16 17:41:12 -05:00
Author
Owner

@rekram1-node commented on GitHub (Dec 20, 2025):

I made a dumbass bug I apologize, can u do:

rm $(which opencode)

and then install again

@rekram1-node commented on GitHub (Dec 20, 2025): I made a dumbass bug I apologize, can u do: `rm $(which opencode)` and then install again
Author
Owner

@rekram1-node commented on GitHub (Dec 20, 2025):

1.0.82 should have fix

@rekram1-node commented on GitHub (Dec 20, 2025): 1.0.82 should have fix
Author
Owner

@NazmiAltun commented on GitHub (Dec 20, 2025):

I tried that, current version on brew right now is still 1.0.181. I guess i have to wait a little bit.
For now, i changed one of the agents mode from subagent to primary, it worked.

I will wait for the new version. Thanks for the quick response.

@NazmiAltun commented on GitHub (Dec 20, 2025): I tried that, current version on brew right now is still 1.0.181. I guess i have to wait a little bit. For now, i changed one of the agents mode from subagent to primary, it worked. I will wait for the new version. Thanks for the quick response.
Author
Owner

@rekram1-node commented on GitHub (Dec 20, 2025):

damnit yeah I need to add better testing

@rekram1-node commented on GitHub (Dec 20, 2025): damnit yeah I need to add better testing
Author
Owner

@scameronde commented on GitHub (Dec 21, 2025):

These two commands fixed the issue on my instalation (Linux), so no need to delete and reinstall:

cd ~/.opencode
rm bun.lock
@scameronde commented on GitHub (Dec 21, 2025): These two commands fixed the issue on my instalation (Linux), so no need to delete and reinstall: ```sh cd ~/.opencode rm bun.lock ```
Author
Owner

@rekram1-node commented on GitHub (Dec 21, 2025):

they updated homebrew now should be good

@rekram1-node commented on GitHub (Dec 21, 2025): they updated homebrew now should be good
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3712