black screen when using >1.0.46 #2737

Open
opened 2026-02-16 17:37:01 -05:00 by yindo · 34 comments
Owner

Originally created by @wolfie82 on GitHub (Nov 9, 2025).

Originally assigned to: @thdxr on GitHub.

Description

Upgraded to opencode 1.0.47. When launching opencode I just see a black screen and the tui doesn't load. The issue is resolved by reverting to 1.0.46.

I have to kill the process manually.

OpenCode version

1.0.47

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

macOS 15.7

Terminal

iTerm2

Originally created by @wolfie82 on GitHub (Nov 9, 2025). Originally assigned to: @thdxr on GitHub. ### Description Upgraded to opencode 1.0.47. When launching opencode I just see a black screen and the tui doesn't load. The issue is resolved by reverting to 1.0.46. I have to kill the process manually. ### OpenCode version 1.0.47 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System macOS 15.7 ### Terminal iTerm2
yindo added the opentuibug labels 2026-02-16 17:37:01 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 9, 2025):

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

  • #3853: Black screen when running opencode web - similar black screen symptom on macOS with version-specific issue
  • #3776: Screen becomes completely blank - TUI becomes blank during sessions on macOS
  • #3935: Unstable TUI - reports disappearing content area and UI instability since v1.0 on macOS
  • #3671: 1.0+ is unusable in non-truecolor terminal - UI problems specifically starting with v1.0+ on macOS
  • #4043: TUI themes became dim - visual display issues in v1.0.39 on macOS

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

@github-actions[bot] commented on GitHub (Nov 9, 2025): This issue might be a duplicate of existing issues. Please check: - #3853: Black screen when running opencode web - similar black screen symptom on macOS with version-specific issue - #3776: Screen becomes completely blank - TUI becomes blank during sessions on macOS - #3935: Unstable TUI - reports disappearing content area and UI instability since v1.0 on macOS - #3671: 1.0+ is unusable in non-truecolor terminal - UI problems specifically starting with v1.0+ on macOS - #4043: TUI themes became dim - visual display issues in v1.0.39 on macOS Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Nov 9, 2025):

Image

I don't use iterm normally but I can't replicate...

Do u have any special custom themes or anything?

@rekram1-node commented on GitHub (Nov 9, 2025): <img width="1109" height="606" alt="Image" src="https://github.com/user-attachments/assets/358ddb31-ec8d-44e4-9c24-bb41eb1dc8ba" /> I don't use iterm normally but I can't replicate... Do u have any special custom themes or anything?
Author
Owner

@wolfie82 commented on GitHub (Nov 9, 2025):

I was able to run the issue down.

Root Cause: Silent Plugin Initialization Failure in OpenCode v1.0.47+

The Breaking Change
Commit 4bb7ea91 (Nov 8, 2025) - "improve startup speed" changed how OpenCode initializes plugins:

Before (v1.0.46):
const cache = new Map<string, Context>()

  • Plugins initialized AFTER instance setup was complete
  • Errors during plugin init were visible/recoverable

After (v1.0.47+):
const cache = new Map<string, Promise>()

  • Plugins initialized INSIDE a cached Promise
  • If ANY plugin throws/hangs during init, entire Promise fails
  • OpenCode shows black screen with NO error messages

What Caused the Failure

export const DynamicContextLoaderPlugin: Plugin = async ({ client, ... }) => {
  await client.app.log({  // ← THIS LINE FAILED
    body: {
      service: 'dynamic-context-loader',
      level: 'info',
      message: `🔌 Plugin initialized`,
    },
  })
  return { ... }
}

Why await client.app.log() failed during init:

  • The OpenCode app/server wasn't fully ready yet during plugin initialization
  • The client.app.log() call either threw an error or hung waiting for a response
  • Since this happened inside the cached Promise, OpenCode failed silently
  • Result: Black screen, no error messages, no way to debug

The Fix

Don't use await client.app.log() (or any async calls to client) during plugin initialization:

export const DynamicContextLoaderPlugin: Plugin = async ({ client, ... }) => {
  // Just initialize and return immediately - no await calls
  const manager = ContextLoaderManager.getInstance(projectPath)
  
  return {
    // Logging works fine HERE (after initialization)
    event: async ({ event }) => {
      await client.app.log({ ... })  // ✅ This is fine
    }
  }
}
@wolfie82 commented on GitHub (Nov 9, 2025): I was able to run the issue down. Root Cause: Silent Plugin Initialization Failure in OpenCode v1.0.47+ The Breaking Change Commit 4bb7ea91 (Nov 8, 2025) - "improve startup speed" changed how OpenCode initializes plugins: Before (v1.0.46): const cache = new Map<string, Context>() - Plugins initialized AFTER instance setup was complete - Errors during plugin init were visible/recoverable After (v1.0.47+): const cache = new Map<string, Promise<Context>>() - Plugins initialized INSIDE a cached Promise - If ANY plugin throws/hangs during init, entire Promise fails - OpenCode shows black screen with NO error messages What Caused the Failure ``` export const DynamicContextLoaderPlugin: Plugin = async ({ client, ... }) => { await client.app.log({ // ← THIS LINE FAILED body: { service: 'dynamic-context-loader', level: 'info', message: `🔌 Plugin initialized`, }, }) return { ... } } ``` Why await client.app.log() failed during init: - The OpenCode app/server wasn't fully ready yet during plugin initialization - The client.app.log() call either threw an error or hung waiting for a response - Since this happened inside the cached Promise, OpenCode failed silently - Result: Black screen, no error messages, no way to debug The Fix Don't use await client.app.log() (or any async calls to client) during plugin initialization: ``` export const DynamicContextLoaderPlugin: Plugin = async ({ client, ... }) => { // Just initialize and return immediately - no await calls const manager = ContextLoaderManager.getInstance(projectPath) return { // Logging works fine HERE (after initialization) event: async ({ event }) => { await client.app.log({ ... }) // ✅ This is fine } } } ```
Author
Owner

@rekram1-node commented on GitHub (Nov 9, 2025):

nice job tracking it down we will fix this

@rekram1-node commented on GitHub (Nov 9, 2025): nice job tracking it down we will fix this
Author
Owner

@Rhiz3K commented on GitHub (Jan 13, 2026):

appeared past version 1.1.14 to me, updated to 1.1.16, 1.1.17 and 1.1.18 and it still persist, desktop app works fine
OS: ubuntu server

@Rhiz3K commented on GitHub (Jan 13, 2026): appeared past version 1.1.14 to me, updated to 1.1.16, 1.1.17 and 1.1.18 and it still persist, desktop app works fine OS: ubuntu server
Author
Owner

@stefan-girlich commented on GitHub (Jan 14, 2026):

Just started opencode for the first time; blank terminal. MacOS 15.7.3, iTerm2 3.6.6, zsh.
In this state, there is no response to any keyboard inputs anymore and I need to close the entire tab.

Alternative approaches I tried

Desktop app

Never gets past the "Initializing ..." screen.

CLI v1.0.46

No blank screen, but also no output whatsoever for command opencode

serve

For both v1.0.46 and v 1.1.19, opencode serve -print-logs --log-level DEBUG starts a web server and logs incoming GET requests when trying to open http://127.0.0.1:4096 in browser, but requests never finish; there is just no HTTP response.

Logs

I have bun installed via nvm, not sure if this could be an issue:

show/hide

➜ ~ opencode run hello --print-logs

INFO 2026-01-14T11:41:19 +285ms service=default version=1.1.19 args=["run","hello","--print-logs"] opencode
INFO 2026-01-14T11:41:19 +0ms service=default directory=/Users/myusername creating instance
INFO 2026-01-14T11:41:19 +0ms service=project directory=/Users/myusername fromDirectory
INFO 2026-01-14T11:41:19 +8ms service=default directory=/Users/myusername bootstrapping
INFO 2026-01-14T11:41:19 +1ms service=config path=/Users/myusername/.config/opencode/config.json loading
INFO 2026-01-14T11:41:19 +0ms service=config path=/Users/myusername/.config/opencode/opencode.json loading
INFO 2026-01-14T11:41:19 +0ms service=config path=/Users/myusername/.config/opencode/opencode.jsonc loading
INFO 2026-01-14T11:41:19 +1ms service=bun cmd=["/Users/myusername/.opencode/bin/opencode","add","@opencode-ai/plugin@1.1.19","--exact"] cwd=/Users/myusername/.config/opencode running
INFO 2026-01-14T11:41:19 +2ms service=config path=/Users/myusername/.opencode/opencode.jsonc loading
INFO 2026-01-14T11:41:19 +0ms service=config path=/Users/myusername/.opencode/opencode.json loading
INFO 2026-01-14T11:41:19 +0ms service=bun cmd=["/Users/myusername/.opencode/bin/opencode","add","@opencode-ai/plugin@1.1.19","--exact"] cwd=/Users/myusername/.opencode running
INFO 2026-01-14T11:41:19 +6ms service=plugin name=CodexAuthPlugin loading internal plugin
INFO 2026-01-14T11:41:19 +0ms service=plugin path=opencode-copilot-auth@0.0.12 loading plugin
INFO 2026-01-14T11:41:19 +6ms service=plugin path=opencode-anthropic-auth@0.0.8 loading plugin
INFO 2026-01-14T11:41:19 +0ms service=bun code=0 stdout=bun add v1.3.5 (1e86cebd)

installed @opencode-ai/plugin@1.1.19

[7.00ms] done
stderr=Saved lockfile
done
INFO 2026-01-14T11:41:19 +0ms service=bun cmd=["/Users/myusername/.opencode/bin/opencode","install"] cwd=/Users/myusername/.config/opencode running
INFO 2026-01-14T11:41:19 +1ms service=bun code=0 stdout=bun add v1.3.5 (1e86cebd)

installed @opencode-ai/plugin@1.1.19

[6.00ms] done
stderr=Saved lockfile
done
INFO 2026-01-14T11:41:19 +0ms service=bun cmd=["/Users/myusername/.opencode/bin/opencode","install"] cwd=/Users/myusername/.opencode running
INFO 2026-01-14T11:41:19 +21ms service=plugin path=@gitlab/opencode-gitlab-auth@1.3.0 loading plugin
INFO 2026-01-14T11:41:19 +1ms service=bun code=0 stdout=bun install v1.3.5 (1e86cebd)

Checked 3 installs across 4 packages (no changes) [1.00ms]
stderr= done
INFO 2026-01-14T11:41:19 +0ms service=bun code=0 stdout=bun install v1.3.5 (1e86cebd)

Checked 3 installs across 4 packages (no changes) [1.00ms]
stderr= done
INFO 2026-01-14T11:41:19 +1ms service=bun pkg=@gitlab/opencode-gitlab-auth version=1.3.0 installing package using Bun's default registry resolution
INFO 2026-01-14T11:41:19 +0ms service=bun cmd=["/Users/myusername/.opencode/bin/opencode","add","--force","--exact","--cwd","/Users/myusername/.cache/opencode","@gitlab/opencode-gitlab-auth@1.3.0"] cwd=/Users/myusername/.cache/opencode running

@stefan-girlich commented on GitHub (Jan 14, 2026): Just started opencode for the first time; blank terminal. MacOS 15.7.3, iTerm2 3.6.6, zsh. In this state, there is no response to any keyboard inputs anymore and I need to close the entire tab. ## Alternative approaches I tried ### Desktop app Never gets past the "Initializing ..." screen. ### CLI v1.0.46 No blank screen, but also no output whatsoever for command `opencode` ### `serve` For both v1.0.46 and v 1.1.19, `opencode serve -print-logs --log-level DEBUG` starts a web server and logs incoming GET requests when trying to open `http://127.0.0.1:4096` in browser, but requests never finish; there is just no HTTP response. ## Logs I have `bun` installed via `nvm`, not sure if this could be an issue: <details> <summary>show/hide</summary> ➜ ~ opencode run hello --print-logs INFO 2026-01-14T11:41:19 +285ms service=default version=1.1.19 args=["run","hello","--print-logs"] opencode INFO 2026-01-14T11:41:19 +0ms service=default directory=/Users/myusername creating instance INFO 2026-01-14T11:41:19 +0ms service=project directory=/Users/myusername fromDirectory INFO 2026-01-14T11:41:19 +8ms service=default directory=/Users/myusername bootstrapping INFO 2026-01-14T11:41:19 +1ms service=config path=/Users/myusername/.config/opencode/config.json loading INFO 2026-01-14T11:41:19 +0ms service=config path=/Users/myusername/.config/opencode/opencode.json loading INFO 2026-01-14T11:41:19 +0ms service=config path=/Users/myusername/.config/opencode/opencode.jsonc loading INFO 2026-01-14T11:41:19 +1ms service=bun cmd=["/Users/myusername/.opencode/bin/opencode","add","@opencode-ai/plugin@1.1.19","--exact"] cwd=/Users/myusername/.config/opencode running INFO 2026-01-14T11:41:19 +2ms service=config path=/Users/myusername/.opencode/opencode.jsonc loading INFO 2026-01-14T11:41:19 +0ms service=config path=/Users/myusername/.opencode/opencode.json loading INFO 2026-01-14T11:41:19 +0ms service=bun cmd=["/Users/myusername/.opencode/bin/opencode","add","@opencode-ai/plugin@1.1.19","--exact"] cwd=/Users/myusername/.opencode running INFO 2026-01-14T11:41:19 +6ms service=plugin name=CodexAuthPlugin loading internal plugin INFO 2026-01-14T11:41:19 +0ms service=plugin path=opencode-copilot-auth@0.0.12 loading plugin INFO 2026-01-14T11:41:19 +6ms service=plugin path=opencode-anthropic-auth@0.0.8 loading plugin INFO 2026-01-14T11:41:19 +0ms service=bun code=0 stdout=bun add v1.3.5 (1e86cebd) installed @opencode-ai/plugin@1.1.19 [7.00ms] done stderr=Saved lockfile done INFO 2026-01-14T11:41:19 +0ms service=bun cmd=["/Users/myusername/.opencode/bin/opencode","install"] cwd=/Users/myusername/.config/opencode running INFO 2026-01-14T11:41:19 +1ms service=bun code=0 stdout=bun add v1.3.5 (1e86cebd) installed @opencode-ai/plugin@1.1.19 [6.00ms] done stderr=Saved lockfile done INFO 2026-01-14T11:41:19 +0ms service=bun cmd=["/Users/myusername/.opencode/bin/opencode","install"] cwd=/Users/myusername/.opencode running INFO 2026-01-14T11:41:19 +21ms service=plugin path=@gitlab/opencode-gitlab-auth@1.3.0 loading plugin INFO 2026-01-14T11:41:19 +1ms service=bun code=0 stdout=bun install v1.3.5 (1e86cebd) Checked 3 installs across 4 packages (no changes) [1.00ms] stderr= done INFO 2026-01-14T11:41:19 +0ms service=bun code=0 stdout=bun install v1.3.5 (1e86cebd) Checked 3 installs across 4 packages (no changes) [1.00ms] stderr= done INFO 2026-01-14T11:41:19 +1ms service=bun pkg=@gitlab/opencode-gitlab-auth version=1.3.0 installing package using Bun's default registry resolution INFO 2026-01-14T11:41:19 +0ms service=bun cmd=["/Users/myusername/.opencode/bin/opencode","add","--force","--exact","--cwd","/Users/myusername/.cache/opencode","@gitlab/opencode-gitlab-auth@1.3.0"] cwd=/Users/myusername/.cache/opencode running </details>
Author
Owner

@stefan-girlich commented on GitHub (Jan 14, 2026):

Seems fixed in v1.1.20

@stefan-girlich commented on GitHub (Jan 14, 2026): Seems fixed in v1.1.20
Author
Owner

@Rhiz3K commented on GitHub (Jan 14, 2026):

Not for me...

@Rhiz3K commented on GitHub (Jan 14, 2026): Not for me...
Author
Owner

@shanjw21 commented on GitHub (Jan 15, 2026):

same to 1.18 on macos15 m1 chip, when I run opencode , it will be hang and I have to kill it by myself

@shanjw21 commented on GitHub (Jan 15, 2026): same to 1.18 on macos15 m1 chip, when I run opencode , it will be hang and I have to kill it by myself
Author
Owner

@rekram1-node commented on GitHub (Jan 15, 2026):

Is anyone using network proxies? If so refer to network section of docs plz

If stuff is hanging maybe try running:
opencode run hello --print-logs see what is hanging?

@rekram1-node commented on GitHub (Jan 15, 2026): Is anyone using network proxies? If so refer to network section of docs plz If stuff is hanging maybe try running: `opencode run hello --print-logs` see what is hanging?
Author
Owner

@Rhiz3K commented on GitHub (Jan 15, 2026):

Is anyone using network proxies? If so refer to network section of docs plz

If stuff is hanging maybe try running: opencode run hello --print-logs see what is hanging?

thank you it solved my issue it was this file: .opencode/plugin/browser-tools-server.ts

@Rhiz3K commented on GitHub (Jan 15, 2026): > Is anyone using network proxies? If so refer to network section of docs plz > > If stuff is hanging maybe try running: `opencode run hello --print-logs` see what is hanging? thank you it solved my issue it was this file: .opencode/plugin/browser-tools-server.ts
Author
Owner

@guivr commented on GitHub (Jan 16, 2026):

+1 blank screen here on Mac app 😵‍💫

@guivr commented on GitHub (Jan 16, 2026): +1 blank screen here on Mac app 😵‍💫
Author
Owner

@ivpal commented on GitHub (Jan 16, 2026):

+1 on Mac not working

@ivpal commented on GitHub (Jan 16, 2026): +1 on Mac not working
Author
Owner

@4NARCHIS7 commented on GitHub (Jan 17, 2026):

Still a black screen on 1.1.25

@4NARCHIS7 commented on GitHub (Jan 17, 2026): Still a black screen on 1.1.25
Author
Owner

@fransjesky commented on GitHub (Jan 17, 2026):

+1 blank screen on arch linux as well, opened on kitty terminal (tested with xterm as well, same result), latest version 1.1.25

@fransjesky commented on GitHub (Jan 17, 2026): +1 blank screen on arch linux as well, opened on kitty terminal (tested with xterm as well, same result), latest version 1.1.25
Author
Owner

@n-r-w commented on GitHub (Jan 18, 2026):

macos, zsh, opencode 1.1.25 - blank screen in chostty and macos terminal

@n-r-w commented on GitHub (Jan 18, 2026): macos, zsh, opencode 1.1.25 - blank screen in chostty and macos terminal
Author
Owner

@night-slayer18 commented on GitHub (Jan 19, 2026):

Same on windows as well for 1.1.25

@night-slayer18 commented on GitHub (Jan 19, 2026): Same on windows as well for 1.1.25
Author
Owner

@hodzanassredin commented on GitHub (Jan 19, 2026):

Same thing Omarchy bash. 1.1.25

opencode run hello --print-logs

ERROR 2026-01-19T13:30:55 +9999ms service=default e=The operation timed out. rejection

@hodzanassredin commented on GitHub (Jan 19, 2026): Same thing Omarchy bash. 1.1.25 opencode run hello --print-logs ERROR 2026-01-19T13:30:55 +9999ms service=default e=The operation timed out. rejection
Author
Owner

@TheBigBossYoyo commented on GitHub (Jan 20, 2026):

+1 black screen on Windows 11

@TheBigBossYoyo commented on GitHub (Jan 20, 2026): +1 black screen on Windows 11
Author
Owner

@n-r-w commented on GitHub (Jan 20, 2026):

I fixed it by adding the models.dev url to work via VPN (opencode persistently tries to download something from there at startup). It looks like there are some issues with Cloudflare's network availability.

@n-r-w commented on GitHub (Jan 20, 2026): I fixed it by adding the `models.dev` url to work via VPN (opencode persistently tries to download something from there at startup). It looks like there are some issues with Cloudflare's network availability.
Author
Owner

@4NARCHIS7 commented on GitHub (Jan 21, 2026):

Still a black screen on 1.1.25
I managed to solve it only by installing it via Chocolatey, but there I could get only the latest version 1.1.23. Then, by manually downloading the file and placing it into the folder, I ended up with a working version 1.1.25.

@4NARCHIS7 commented on GitHub (Jan 21, 2026): > Still a black screen on 1.1.25 I managed to solve it only by installing it via Chocolatey, but there I could get only the latest version 1.1.23. Then, by manually downloading the file and placing it into the folder, I ended up with a working version 1.1.25.
Author
Owner

@oleg-medovikov commented on GitHub (Jan 22, 2026):

  • black screen ubuntu

ERROR 2026-01-22T12:03:21 +10006ms service=default e=The operation timed out. rejection

@oleg-medovikov commented on GitHub (Jan 22, 2026): + black screen ubuntu ERROR 2026-01-22T12:03:21 +10006ms service=default e=The operation timed out. rejection
Author
Owner

@night-slayer18 commented on GitHub (Jan 22, 2026):

@thdxr any update on when this will get fixed

@night-slayer18 commented on GitHub (Jan 22, 2026): @thdxr any update on when this will get fixed
Author
Owner

@n-r-w commented on GitHub (Jan 22, 2026):

Just use VPN and all will be fixed immediately.

@n-r-w commented on GitHub (Jan 22, 2026): Just use VPN and all will be fixed immediately.
Author
Owner

@n-r-w commented on GitHub (Jan 23, 2026):

The latest desktop update looks amazing, even with VPN :)

Image
@n-r-w commented on GitHub (Jan 23, 2026): The latest desktop update looks amazing, even with VPN :) <img width="882" height="624" alt="Image" src="https://github.com/user-attachments/assets/06a4a451-7417-4d47-8790-c126387401fe" />
Author
Owner

@stefan-girlich commented on GitHub (Jan 23, 2026):

Update:

Using v1.1.34, the blank screen is back in all cases.

  1. Ran opencode - worked; saw network traffic (update?)
  2. Closed opencode via SIGINT
  3. Ran opencode again => black screen is back, as before

Desktop app (v1.1.34) also stuck in initial screen.

Update to v1.1.20 fixed the black screen issue for me last week; now it's back with v.1.134 or earlier).

Can this be escalated somehow? We have around ten confirmations across platforms in the last seven days alone.

@stefan-girlich commented on GitHub (Jan 23, 2026): Update: Using v1.1.34, the blank screen is back in all cases. 1. Ran `opencode` - worked; saw network traffic (update?) 2. Closed opencode via SIGINT 3. Ran `opencode` again => black screen is back, as before Desktop app (v1.1.34) also stuck in initial screen. Update to v1.1.20 fixed the black screen issue for me last week; now it's back with v.1.134 or earlier). Can this be escalated somehow? We have around ten confirmations across platforms in the last seven days alone.
Author
Owner

@gpmarques commented on GitHub (Jan 26, 2026):

Same issue here:

  • macOS Tahoe 26.2
  • opencode v1.1.134
  • I've tested with ghostty and iterm
@gpmarques commented on GitHub (Jan 26, 2026): Same issue here: - macOS Tahoe 26.2 - opencode v1.1.134 - I've tested with ghostty and iterm
Author
Owner

@stefan-girlich commented on GitHub (Jan 27, 2026):

OpenCode v1.1.36 - works again, MacOS 15.7.3 (24G419)

@stefan-girlich commented on GitHub (Jan 27, 2026): OpenCode v1.1.36 - works again, MacOS 15.7.3 (24G419)
Author
Owner

@night-slayer18 commented on GitHub (Jan 27, 2026):

Whats the point of doing 2-3 release each day if you're not fixing the underlying issues...many people have reported issues across multiple os and still no response from maintainers to fixing this

@night-slayer18 commented on GitHub (Jan 27, 2026): Whats the point of doing 2-3 release each day if you're not fixing the underlying issues...many people have reported issues across multiple os and still no response from maintainers to fixing this
Author
Owner

@pierrecorsini commented on GitHub (Jan 30, 2026):

Temporary fix pinning version: https://github.com/code-yeongyu/oh-my-opencode/issues/596#issuecomment-3824847442

@pierrecorsini commented on GitHub (Jan 30, 2026): Temporary fix pinning version: https://github.com/code-yeongyu/oh-my-opencode/issues/596#issuecomment-3824847442
Author
Owner

@rekram1-node commented on GitHub (Jan 30, 2026):

Those having issues, can you tell me your version and plugins you are using?

If you are NOT on latest make sure you aren't using the wrong homebrew tap, use: brew install anomalyco/tap/opencode

If you get a blank screen try these:

  • comment out your array of plugins (some plugins can take reallyy long time to download)
  • try OPENCODE_DISABLE_DEFAULT_PLUGINS=true opencode
  • try opencode run hello --print-logs (does it hang? does anything output?)
@rekram1-node commented on GitHub (Jan 30, 2026): Those having issues, can you tell me your version and plugins you are using? If you are NOT on latest make sure you aren't using the wrong homebrew tap, use: `brew install anomalyco/tap/opencode` If you get a blank screen try these: - comment out your array of plugins (some plugins can take reallyy long time to download) - try `OPENCODE_DISABLE_DEFAULT_PLUGINS=true opencode` - try `opencode run hello --print-logs` (does it hang? does anything output?)
Author
Owner

@globalreset commented on GitHub (Jan 30, 2026):

OPENCODE_DISABLE_DEFAULT_PLUGINS=true opencode worked for me on a completely fresh install with curl instructions on linux. At last, I can finally see the TUI.

opencode run hello --print-logs
INFO  2026-01-30T23:35:07 +242ms service=default version=1.1.47 args=["run","hello","--print-logs"] opencode
INFO  2026-01-30T23:35:07 +1ms service=default directory=/xyzi creating instance
INFO  2026-01-30T23:35:07 +0ms service=project directory=/xyz fromDirectory
INFO  2026-01-30T23:35:08 +93ms service=default directory=/xyz bootstrapping
INFO  2026-01-30T23:35:08 +2ms service=config path=/home/scotth/.config/opencode/config.json loading
INFO  2026-01-30T23:35:08 +1ms service=config path=/home/scotth/.config/opencode/opencode.json loading
INFO  2026-01-30T23:35:08 +0ms service=config path=/home/scotth/.config/opencode/opencode.jsonc loading
INFO  2026-01-30T23:35:08 +3ms service=bun cmd=["/home/scotth/.opencode/bin/opencode","add","@opencode-ai/plugin@1.1.47","--exact"] cwd=/home/scotth/.config/opencode running
INFO  2026-01-30T23:35:08 +2ms service=config path=/home/scotth/.opencode/opencode.jsonc loading
INFO  2026-01-30T23:35:08 +0ms service=config path=/home/scotth/.opencode/opencode.json loading
INFO  2026-01-30T23:35:08 +1ms service=bun cmd=["/home/scotth/.opencode/bin/opencode","add","@opencode-ai/plugin@1.1.47","--exact"] cwd=/home/scotth/.opencode running
INFO  2026-01-30T23:35:08 +5ms service=plugin name=CodexAuthPlugin loading internal plugin
INFO  2026-01-30T23:35:08 +1ms service=plugin name=CopilotAuthPlugin loading internal plugin
INFO  2026-01-30T23:35:08 +0ms service=plugin path=opencode-anthropic-auth@0.0.13 loading plugin
ERROR 2026-01-30T23:35:08 +50ms service=default name=ResolveMessage message=Cannot find module '../../runtime/base64url.js' from '/home/scotth/.cache/opencode/node_modules/jose/dist/browser/jwe/flattened/decrypt.js' code=ERR_MODULE_NOT_FOUND specifier=../../runtime/base64url.js referrer=/home/scotth/.cache/opencode/node_modules/jose/dist/browser/jwe/flattened/decrypt.js importKind=import-statement fatal
Error: Unexpected error, check log file at  for more details

ResolveMessage: Cannot find module '../../runtime/base64url.js' from '/home/scotth/.cache/opencode/node_modules/jose/dist/browser/jwe/flattened/decrypt.js'
@globalreset commented on GitHub (Jan 30, 2026): `OPENCODE_DISABLE_DEFAULT_PLUGINS=true opencode` worked for me on a completely fresh install with curl instructions on linux. At last, I can finally see the TUI. ``` opencode run hello --print-logs INFO 2026-01-30T23:35:07 +242ms service=default version=1.1.47 args=["run","hello","--print-logs"] opencode INFO 2026-01-30T23:35:07 +1ms service=default directory=/xyzi creating instance INFO 2026-01-30T23:35:07 +0ms service=project directory=/xyz fromDirectory INFO 2026-01-30T23:35:08 +93ms service=default directory=/xyz bootstrapping INFO 2026-01-30T23:35:08 +2ms service=config path=/home/scotth/.config/opencode/config.json loading INFO 2026-01-30T23:35:08 +1ms service=config path=/home/scotth/.config/opencode/opencode.json loading INFO 2026-01-30T23:35:08 +0ms service=config path=/home/scotth/.config/opencode/opencode.jsonc loading INFO 2026-01-30T23:35:08 +3ms service=bun cmd=["/home/scotth/.opencode/bin/opencode","add","@opencode-ai/plugin@1.1.47","--exact"] cwd=/home/scotth/.config/opencode running INFO 2026-01-30T23:35:08 +2ms service=config path=/home/scotth/.opencode/opencode.jsonc loading INFO 2026-01-30T23:35:08 +0ms service=config path=/home/scotth/.opencode/opencode.json loading INFO 2026-01-30T23:35:08 +1ms service=bun cmd=["/home/scotth/.opencode/bin/opencode","add","@opencode-ai/plugin@1.1.47","--exact"] cwd=/home/scotth/.opencode running INFO 2026-01-30T23:35:08 +5ms service=plugin name=CodexAuthPlugin loading internal plugin INFO 2026-01-30T23:35:08 +1ms service=plugin name=CopilotAuthPlugin loading internal plugin INFO 2026-01-30T23:35:08 +0ms service=plugin path=opencode-anthropic-auth@0.0.13 loading plugin ERROR 2026-01-30T23:35:08 +50ms service=default name=ResolveMessage message=Cannot find module '../../runtime/base64url.js' from '/home/scotth/.cache/opencode/node_modules/jose/dist/browser/jwe/flattened/decrypt.js' code=ERR_MODULE_NOT_FOUND specifier=../../runtime/base64url.js referrer=/home/scotth/.cache/opencode/node_modules/jose/dist/browser/jwe/flattened/decrypt.js importKind=import-statement fatal Error: Unexpected error, check log file at for more details ResolveMessage: Cannot find module '../../runtime/base64url.js' from '/home/scotth/.cache/opencode/node_modules/jose/dist/browser/jwe/flattened/decrypt.js' ```
Author
Owner

@rekram1-node commented on GitHub (Jan 30, 2026):

yeah recommend running w/ that env var then for now, what OS/arch are u on?

@rekram1-node commented on GitHub (Jan 30, 2026): yeah recommend running w/ that env var then for now, what OS/arch are u on?
Author
Owner

@globalreset commented on GitHub (Jan 30, 2026):

AlmaLinux 9.7 x86_64

@globalreset commented on GitHub (Jan 30, 2026): AlmaLinux 9.7 x86_64
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2737