Skip to content

Web UI: WebAssembly is not defined when switching project folders #15327

Closed as not planned

Description

@the3asic

Description

When switching between project folders in the Web UI, the page intermittently throws ReferenceError: WebAssembly is not defined from the marked library's WASM module.

Refreshing resolves it until the next folder switch. Reproduced on mobile PWA (iOS Safari, Android Chrome); likely not PWA-specific — may also affect desktop browsers.

Stack trace

ReferenceError: WebAssembly is not defined
    at Module.E (.../assets/wasm-CG6Dc4jp.js:1:622250)
    at .../assets/index-D_SjpU5M.js:13:47240
    at async f (.../assets/index-D_SjpU5M.js:13:42530)
    at async qD (.../assets/index-D_SjpU5M.js:13:42638)
    at async e (.../assets/index-D_SjpU5M.js:13:47067)
    at async G6 (.../assets/index-D_SjpU5M.js:13:47839)
    at async Promise.all (index 2)
    at async OD (.../assets/index-D_SjpU5M.js:13:10311)
    at async RD (.../assets/index-D_SjpU5M.js:13:10447)
    at async o (.../assets/index-D_SjpU5M.js:13:11322)

OpenCode version

1.2.15

Steps to reproduce

  1. Run opencode web on remote server (accessed via reverse proxy)
  2. Open a project folder
  3. Switch to a different folder → error in console

Operating System

Server: Ubuntu 20.04 (aarch64)

Browser

  • iOS Safari PWA (latest iOS)
  • Android Chrome PWA
  • Desktop browser: not yet confirmed but likely affected

Terminal

Web UI only

Activity

  1. github-actions commented on Apr 29, 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

webRelates 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