Could not use opencode stats commond #8467

Open
opened 2026-02-16 18:10:02 -05:00 by yindo · 1 comment
Owner

Originally created by @zhenzhi593-source on GitHub (Feb 3, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

PS C:\Users\Hoolinks> opencode stats
Error: Unexpected error, check log file at C:\Users\Hoolinks.local\share\opencode\log\2026-02-04T012735.log for more details
Unexpected end of JSON input

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

Originally created by @zhenzhi593-source on GitHub (Feb 3, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description PS C:\Users\Hoolinks> opencode stats Error: Unexpected error, check log file at C:\Users\Hoolinks\.local\share\opencode\log\2026-02-04T012735.log for more details Unexpected end of JSON input ### 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_
yindo added the windowsbug labels 2026-02-16 18:10:02 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 3, 2026):

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

  • #5431: stats command: SyntaxError: Failed to parse JSON - Nearly identical error with the opencode stats command
  • #7889: SDK throws 'Unexpected end of JSON input' on empty response bodies - Root cause analysis of this JSON parsing error
  • #7715: Unexpected end of json - Similar JSON parsing issue
  • #8448: client.gen.ts: Improve error handling for empty/invalid JSON responses - Proposed fix for the SDK error handling

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

@github-actions[bot] commented on GitHub (Feb 3, 2026): This issue might be a duplicate of existing issues. Please check: - #5431: stats command: SyntaxError: Failed to parse JSON - Nearly identical error with the opencode stats command - #7889: SDK throws 'Unexpected end of JSON input' on empty response bodies - Root cause analysis of this JSON parsing error - #7715: Unexpected end of json - Similar JSON parsing issue - #8448: client.gen.ts: Improve error handling for empty/invalid JSON responses - Proposed fix for the SDK error handling Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8467