You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VCS diff endpoint returns HTML instead of JSON causing TypeError in Web UI #19291
When opening a project folder that contains git submodules, the VCS diff endpoint returns HTML instead of JSON, causing a JavaScript error in the Web UI:
TypeError: e.diffs.map is not a function. (In 'e.diffs.map(A=>A.file)', 'e.diffs.map' is undefined)
Steps to Reproduce
Open a project folder that contains git submodules
Navigate to any folder within
The Web UI crashes
Environment
OpenCode version: 1.3.0
OS: macOS (Darwin 25.3.0, arm64)
Project path: ~/Documents (contains git submodules like caibaoshuo_analysis, daily_stock_analysis)
Activity
github-actions commentedon Mar 26, 2026
This issue might be a duplicate of existing issues. Please check:
TypeError: e.diffs.map is not a functionerror in the Web UITypeError: e.diffs.map is not a functionwhen reopening browser sessionsPlease review these issues to see if your problem is already tracked, and consider closing this one if it is.
github-actions commentedon Jul 5, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.