opencode icon indicating copy to clipboard operation
opencode copied to clipboard

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

Open AndyRightNow opened this issue 3 days ago • 0 comments

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

AndyRightNow avatar Jan 11 '26 12:01 AndyRightNow