Skip to content

TypeError when reopening a project in OpenCode web #19194

Closed as not planned
Closed as not planned

Description

@weibing-bab

Description

TypeError: Cannot read properties of undefined (reading 'worktree')
at Object.fn (http://127.0.0.1:61471/assets/index-96z_NvoQ.js:2396:150400)
at F2 (http://127.0.0.1:61471/assets/index-96z_NvoQ.js:2:6835)
at $l (http://127.0.0.1:61471/assets/index-96z_NvoQ.js:2:6592)
at Object.Y7 (http://127.0.0.1:61471/assets/index-96z_NvoQ.js:2:5606)
at Object.fn (http://127.0.0.1:61471/assets/index-96z_NvoQ.js:2396:150547)
at F2 (http://127.0.0.1:61471/assets/index-96z_NvoQ.js:2:6835)
at $l (http://127.0.0.1:61471/assets/index-96z_NvoQ.js:2:6592)
at Df (http://127.0.0.1:61471/assets/index-96z_NvoQ.js:2:8033)
at Rf (http://127.0.0.1:61471/assets/index-96z_NvoQ.js:2:9439)
at Df (http://127.0.0.1:61471/assets/index-96z_NvoQ.js:2:7681)

Plugins

No response

OpenCode version

1.3.2

Steps to reproduce

1.Open OpenCode.
2.Select an existing project to reopen.
3.Observe the error screen shown in the screenshot, with the message "出了点问题 / 加载应用程序时发生错误" (Something went wrong / An error occurred while loading the application).

Screenshot and/or share link

Image

Operating System

mac os 26.3

Terminal

No response

Activity

  1. github-actions commented on Mar 26, 2026

    @github-actions
    Contributor

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

  2. removed
    bugSomething isn't working
    webRelates to opencode on web / desktop
    on May 3, 2026
  3. github-actions commented on Jul 5, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 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

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions