Skip to content

[Bug]: OpenCode shows blank screen after installing oh-my-opencode plugin on macOS #596

@real-jacket

Description

@real-jacket

Prerequisites

  • I have searched existing issues to avoid duplicates
  • I am using the latest version of oh-my-opencode
  • I have read the documentation

Bug Description

After installing and configuring the oh-my-opencode plugin on macOS, running the opencode command results in a blank screen and the application cannot be used normally. Removing the plugin restores OpenCode functionality.

  • Operating System: macOS
  • OpenCode Version: 1.0.220
  • oh-my-opencode Version: 2.13.2 (installed via npm globally) / 2.14.0 (latest version)
  • Bun Version: 1.3.5
  • Node.js Version: v23.11.1
  • npm Version: 11.1.0
  • Package Manager: Volta

Steps to Reproduce

  1. Install oh-my-opencode globally via npm:
    npm install -g oh-my-opencode

  2. Run the installer:
    bunx oh-my-opencode install --no-tui --claude=no --chatgpt=no --gemini=no

  3. The opencode.jsonc after configuration:
    {
    plugin: [
    oh-my-opencode
    ],
    $schema: https://opencode.ai/config.json
    }

  4. Run the opencode command

  5. Result: Blank screen, unable to use OpenCode normally

Expected Behavior

OpenCode should display the interface normally

Actual Behavior

After installing the plugin, running opencode displays a blank/white screen

Doctor Output

Installation
────────────────────────────────────────
  ✓ OpenCode Installation → 1.0.220
  ✓ Plugin Registration → Registered
Configuration
────────────────────────────────────────
  ✓ Configuration Validity → Valid JSON config
Authentication
────────────────────────────────────────
  ✓ Anthropic (Claude) Auth → Auth plugin available
  ○ OpenAI (ChatGPT) Auth → Auth plugin not installed
  ○ Google (Gemini) Auth → Auth plugin not installed
Dependencies
────────────────────────────────────────
  ⚠ AST-Grep CLI → Not installed (optional)
  ⚠ AST-Grep NAPI → Not installed (optional)
  ⚠ Comment Checker → Not installed (optional)
Tools & Servers
────────────────────────────────────────
  ⚠ GitHub CLI → Not installed (optional)
  ✓ LSP Servers → 2/4 servers available
  ✓ Built-in MCP Servers → 2 built-in servers enabled
  ○ User MCP Configuration → No user MCP configuration found
Updates
────────────────────────────────────────
  ✓ Version Status → Up to date (2.14.0)
Summary
────────────────────────────────────────
  7 passed, 0 failed, 4 warnings, 3 skipped
  Total: 14 checks in 1352ms
⚠ All systems operational with warnings.

Error Logs

Configuration

{
  $schema: https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json,
  disabled_mcps: [websearch, context7, grep_app],
  sisyphus_agent: {
    disabled: true
  }
}

Additional Context

Attempted Solutions

  1. ✅ Added Bun to PATH (export BUN_INSTALL="$HOME/.bun" and export PATH="$BUN_INSTALL/bin:$PATH")
  2. ✅ Reinstalled the plugin
  3. ✅ Disabled all hooks and MCPs (minimal configuration)
  4. ✅ Upgraded to the latest version
  5. ✅ Verified plugin configuration file is valid
  6. ✅ Ran oh-my-opencode doctor - shows everything is working
  7. ❌ Issue persists

Additional Information

When the plugin is removed (deleting "oh-my-opencode" from opencode.jsonc), OpenCode immediately works normally again.
This issue may be related to Bun runtime dependencies or OpenCode's plugin loading mechanism.

Operating System

macOS

OpenCode Version

1.0.220

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions