Skip to content

Syntax error in opencode.json will cause opencode startup to hang indefinitely #7789

Closed

Description

@AndyRightNow

Description

A syntax error, say, a missing comma, will hang the opencode cli command indefinitely instead of throwing an error.

Plugins

No response

OpenCode version

1.1.13

Steps to reproduce

  1. Remove a comma from opencode.json to make it invalid
  2. Run opencode in the cli

Screenshot and/or share link

No response

Operating System

macOS 26.2

Terminal

Ghostty

Activity

  1. shetty4l commented on Jan 11, 2026

    @shetty4l
    oc-7789.mov

    Small demo of the fix. Happy to address feedback if there's any!

  2. goniz commented on Jan 12, 2026

    @goniz
    Contributor

    @rekram1-node I think this issue can be closed according to your comment

    #7828 (comment)

  3. rekram1-node commented on Jan 12, 2026

    @rekram1-node
    Contributor

    This is fixed on 1.1.14

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 working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions