Skip to content

OpenCode start failed after upgrade #10007

Closed

Description

@Ikki-Dai

Description

OpenCode start field after upgrade , and i have clean ~/.local/share/opencode and ~/.cache and ~/.config/opencode

INFO  2026-01-22T11:06:41 +2ms service=server status=completed duration=768 method=GET path=/event request
INFO  2026-01-22T11:06:41 +0ms service=server status=completed duration=766 method=GET path=/config request
INFO  2026-01-22T11:06:41 +1ms service=server status=completed duration=767 method=GET path=/agent request
INFO  2026-01-22T11:06:41 +9ms service=server status=completed duration=776 method=GET path=/session request
INFO  2026-01-22T11:06:41 +1ms service=bun code=0 stdout=bun install v1.3.5 (1e86cebd)

Checked 3 installs across 4 packages (no changes) [8.00ms]
 stderr= done
INFO  2026-01-22T11:06:43 +2441ms service=provider status=completed duration=2460 state
INFO  2026-01-22T11:06:43 +0ms service=server status=completed duration=2462 providers
ERROR 2026-01-22T11:06:43 +0ms service=server error=JSON Parse error: Unexpected identifier "The" failed
INFO  2026-01-22T11:06:43 +1ms service=server status=completed duration=3219 method=GET path=/config/providers request
INFO  2026-01-22T11:06:43 +25ms service=default worker shutting down
INFO  2026-01-22T11:06:43 +1ms service=default disposing all instances
INFO  2026-01-22T11:06:43 +0ms service=bus type=* unsubscribing
INFO  2026-01-22T11:06:43 +1ms service=server event disconnected

and here's console

INFO  2026-01-22T11:06:40 +362ms service=default version=1.1.31 args=["--print-logs"] opencode
INFO  2026-01-22T11:06:40 +1ms service=config path=C:\Users\yhdai.ikki.WINDNET\.config\opencode\config.json loading
INFO  2026-01-22T11:06:40 +7ms service=config path=C:\Users\yhdai.ikki.WINDNET\.config\opencode\opencode.json loading
INFO  2026-01-22T11:06:40 +2ms service=config path=C:\Users\yhdai.ikki.WINDNET\.config\opencode\opencode.jsonc loading
{
  "name": "UnknownError",
  "data": {
    "message": "SyntaxError: JSON Parse error: Unexpected identifier \"The\"\n    at <parse> (:0)\n    at parse (unknown)\n    at processTicksAndRejections (native:7:39)"
  }
}

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Jan 22, 2026

    @github-actions
    Contributor

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

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

  2. changed the title [-]OpenCode start failed while upgrade[/-] [+]OpenCode start failed after upgrade[/+] on Jan 22, 2026
  3. Moler1995 commented on Jan 22, 2026

    @Moler1995

    你这个明天我教你哈哈哈 #8814

  4. github-actions commented on Mar 26, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions