Skip to content

Desktop app white screen on macOS 12 (Intel): Invalid regular expression: invalid group specifier name #7291

Closed as not planned

Description

@wunamesst

Question

When launching the OpenCode Desktop application on macOS 12.7 (Intel), the app shows a white screen with the message:

<noscript>You need to enable JavaScript to run this app.</noscript>

After opening the WebView developer tools, the following JavaScript error is shown in the console:

[Error] SyntaxError: Invalid regular expression: invalid group specifier name
    RegExp (index-DK9PQlf1.js:532:564761)
    Module Code (index-DK9PQlf1.js:532:564761)
    evaluate
    moduleEvaluation
    (anonymous function)
    promiseReactionJob

It appears that the frontend bundle fails during the JavaScript parse/evaluation phase, so the application never mounts and remains blank.

Environment

OS: macOS 12.7
Architecture: Intel (x64)
Device: Mac (Intel-based)
OpenCode: Desktop application v1.16

Image

Activity

  1. github-actions commented on Jan 8, 2026

    @github-actions
    Contributor

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

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

  2. ryanxie113 commented on Jan 8, 2026

    @ryanxie113

    I have also met the same problem

  3. kazani-351 commented on Jan 8, 2026

    @kazani-351

    same problem

  4. snowdream commented on Jan 19, 2026

    @snowdream

    same problem

  5. alexkkss commented on Jan 27, 2026

    @alexkkss

    same problem

    Environment

    OS: macOS 12.7.6
    Apple M1
    OpenCode: Desktop application v1.1.36
    
  6. fanybook commented on Feb 5, 2026

    @fanybook

    same problem

    OS: macOS 12.7.6
    intel

  7. fengliner commented on Feb 10, 2026

    @fengliner

    same problem. Have any solutions?

  8. linwangolo commented on Mar 23, 2026

    @linwangolo

    same problem :(

  9. removed
    webRelates to opencode on web / desktop
    on May 3, 2026
  10. rekram1-node commented on Jun 23, 2026

    @rekram1-node
    Contributor

    Automated: closing question issues.

    GitHub Issues are for bug reports and feature requests only — questions / support are no longer tracked here.

    If this is a bug or feature request, please open a new issue with the appropriate template.

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