Skip to content

OpenCode Desktop blank in v1.1.33 #10136

Closed

Description

@Eric-Guo

Description

WebView console report:

[Error] Unhandled Promise Rejection: RangeError: Maximum call stack size exceeded.
handleError (chunk-VL2SL2GY.js:1027)
runUpdates (chunk-VL2SL2GY.js:850)
completeLoad (chunk-VL2SL2GY.js:315)
loadEnd (chunk-VL2SL2GY.js:310)

Plugins

No response

OpenCode version

v1.1.33

Steps to reproduce

Just startup the DeskTop

Screenshot and/or share link

No response

Operating System

macOS

Terminal

ghostty

Activity

  1. ysm-dev commented on Jan 23, 2026

    @ysm-dev
    Contributor

    +1

  2. realstone2 commented on Jan 23, 2026

    @realstone2

    good!

  3. denisugiarto commented on Jan 23, 2026

    @denisugiarto

    +1

  4. MohamadMuhaisen commented on Jan 23, 2026

    @MohamadMuhaisen

    +1

  5. Rakesh-207 commented on Jan 23, 2026

    @Rakesh-207

    +1

  6. iinsurgent commented on Jan 23, 2026

    @iinsurgent

    +1

  7. cuigaoshun commented on Jan 23, 2026

    @cuigaoshun

    +1

  8. Smallballoons01 commented on Jan 23, 2026

    @Smallballoons01

    +1

  9. okspal commented on Jan 23, 2026

    @okspal

    +1

  10. lynw3650 commented on Jan 23, 2026

    @lynw3650

    +1

  11. MoonGoblinDev commented on Jan 23, 2026

    @MoonGoblinDev

    +1

  12. raffiacoder-alt commented on Jan 23, 2026

    @raffiacoder-alt

    +1

  13. 7 remaining items

  14. Brendonovich commented on Jan 23, 2026

    @Brendonovich
    Member

    v1.3.34 is on the way which should fix this, unfortunately anyone on broken versions will need to download the latest version from http://opencode.ai/download

  15. denisorehovsky commented on Jan 23, 2026

    @denisorehovsky

    @Brendonovich Still not working even after downloading and replacing the mac app

  16. syanle commented on Jan 23, 2026

    @syanle

    @Brendonovich

    Image I‘ve updated the version to 1.1.34 on Ubuntu, but the web still shows 1.1.33 and is displaying an error.
  17. Eric-Guo commented on Jan 23, 2026

    @Eric-Guo
    ContributorAuthor

    @syanle maybe uninstall and re-install?

  18. Brendonovich commented on Jan 23, 2026

    @Brendonovich
    Member

    I think opencode web serves https://app.opencode.ai which is still on the old version. Am interested in whether this issue is still happening on Desktop

  19. syanle commented on Jan 23, 2026

    @syanle

    @Eric-Guo Yes, I've tried, and even ran npm cache clean --force, but it’s still the same.

  20. BVEsun commented on Jan 23, 2026

    @BVEsun

    I am new to OpenCode. I spent a few hours trying to debug my config file, only to find out the issue wasn't on my end.

  21. lrq315 commented on Jan 23, 2026

    @lrq315

    I am new to OpenCode. I spent a few hours trying to debug my config file, only to find out the issue wasn't on my end.

    You're not alone, what's even worse is that I was also messing with oh-my-opencode.

  22. ProdigyRahul commented on Jan 23, 2026

    @ProdigyRahul
    Contributor

    desktop is fixed. web needs to be updated i believe @Brendonovich

  23. JokerQyou commented on Jan 23, 2026

    @JokerQyou

    Why would opencode web has anything to do with the online version https://app.opencode.ai/? I thought the web UI is packed within the commandline itself, no?

    Again, opencode web is still suffering this issue (for 1.1.34).

  24. gotofd-ops commented on Jan 23, 2026

    @gotofd-ops
    Image
  25. JokerQyou commented on Jan 23, 2026

    @JokerQyou

    Turns out opencode web actually proxies http://127.0.0.1:4096 to the online version https://app.opencode.ai/, see:

    .all("/*", async (c) => {
    const path = c.req.path
    const response = await proxy(`https://app.opencode.ai${path}`, {
    ...c.req,
    headers: {
    ...c.req.raw.headers,
    host: "app.opencode.ai",
    },
    })
    response.headers.set(
    "Content-Security-Policy",
    "default-src 'self'; script-src 'self' 'wasm-unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; font-src 'self' data:; connect-src 'self' data:",
    )
    return response
    }) as unknown as Hono,
    .

    This is rather surprising, and I assume it would break with offline or isolated environment. Someone attempted to fix that (#6218) but did not get merged. I guess we'll have to wait for the team to update the website.

  26. uf-hy commented on Jan 23, 2026

    @uf-hy

    Turns out opencode web actually proxies http://127.0.0.1:4096 to the online version https://app.opencode.ai/, see:

    opencode/packages/opencode/src/server/server.ts

    Lines 500 to 515 in c130dd4

    .all("/*", async (c) => {
    const path = c.req.path

    const response = await proxy(https://app.opencode.ai${path}, {
    ...c.req,
    headers: {
    ...c.req.raw.headers,
    host: "app.opencode.ai",
    },
    })
    response.headers.set(
    "Content-Security-Policy",
    "default-src 'self'; script-src 'self' 'wasm-unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; font-src 'self' data:; connect-src 'self' data:",
    )
    return response
    }) as unknown as Hono,
    .
    This is rather surprising, and I assume it would break with offline or isolated environment. Someone attempted to fix that (#6218) but did not get merged. I guess we'll have to wait for the team to update the website.

    Unfortunately, you're right. opencode web is still not fixed. I even tried rolling back to an earlier version, only to discover that the web version is hardcoded to point to https://app.opencode.ai/. It looks like we'll just have to wait for a fix.:(

  27. MJay-Ku commented on Jan 25, 2026

    @MJay-Ku

    There was a bug in v1.1.33 that caused this issue. The problem has now been fixed in v1.1.34. If you previously downgraded and disabled auto-updates as a workaround, you can safely re-enable them and upgrade now.

    OpenCode Desktop

    1. Go to the Latest Release

    Visit the v1.1.34 release page: https://github.com/anomalyco/opencode/releases/tag/v1.1.34

    2. Open Assets

    Scroll to the bottom of the page and expand the Assets section if it is collapsed.

    3. Download and Install

    Choose the file that matches your operating system:

    • Windows: .exe

    • macOS: .dmg

      • aarch64 for Apple Silicon (M1 / M2 / M3)
      • x64 for Intel Macs
    • Linux: .AppImage or .deb

    Install it normally after downloading.

    OpenCode CLI (Web)

    OpenCode CLI pulls the UI from app.opencode.ai, so there is no other fix than waiting for OpenCode to update it.

    when you say "Linux: .AppImage or .deb" -- did you actually see that as I have not been able to find a .AppImage

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 workingwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions