You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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
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'
Same class of failure here, confirming the root cause wolfie82 identified. Our blank-TUI case (opencode 1.18.10, macOS, Apple Terminal) was caused by a plugin loaded via the plugin array in opencode.json (installed from a git URL) combined with invalid JSON in the config (a trailing comma). Result: silent plugin init failure -> blank screen with no error.
Diagnostics + fix that worked for us:
opencode --pure renders fine -> confirms it is plugin/config-related (--pure skips external plugins, which makes it a great diagnostic).
Remove the offending entries from the plugin array in ~/.config/opencode/opencode.json and validate the file (python3 -c "import json; json.load(open('...'))"). A syntax error in the config silently aborts plugin loading.
Delete the plugin cache: rm -rf ~/.cache/opencode/packages/ (stale cached plugin repos survive and get re-loaded).
No uninstall/reinstall needed; the session database (~/.local/share/opencode/opencode.db) was never touched.
Suggesting the maintainers keep --pure-style plugin skipping as a documented troubleshooting step in the blank-screen issues, since the failure mode is invisible otherwise.
Activity
github-actions commentedon Nov 9, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
rekram1-node commentedon Nov 9, 2025
I don't use iterm normally but I can't replicate...
Do u have any special custom themes or anything?
wolfie82 commentedon 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 4bb7ea9 (Nov 8, 2025) - "improve startup speed" changed how OpenCode initializes plugins:
Before (v1.0.46):
const cache = new Map<string, Context>()
After (v1.0.47+):
const cache = new Map<string, Promise>()
What Caused the Failure
Why await client.app.log() failed during init:
The Fix
Don't use await client.app.log() (or any async calls to client) during plugin initialization:
rekram1-node commentedon Nov 9, 2025
nice job tracking it down we will fix this
Rhiz3K commentedon 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
stefan-girlich commentedon 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
opencodeserveFor both v1.0.46 and v 1.1.19,
opencode serve -print-logs --log-level DEBUGstarts a web server and logs incoming GET requests when trying to openhttp://127.0.0.1:4096in browser, but requests never finish; there is just no HTTP response.Logs
I have
buninstalled vianvm, 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 commentedon Jan 14, 2026
Seems fixed in v1.1.20
Rhiz3K commentedon Jan 14, 2026
Not for me...
shanjw21 commentedon 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
rekram1-node commentedon 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-logssee what is hanging?Rhiz3K commentedon Jan 15, 2026
thank you it solved my issue it was this file: .opencode/plugin/browser-tools-server.ts
guivr commentedon Jan 16, 2026
+1 blank screen here on Mac app 😵💫
11 remaining items
n-r-w commentedon Jan 23, 2026
Just use VPN and all will be fixed immediately.
n-r-w commentedon Jan 23, 2026
The latest desktop update looks amazing, even with VPN :)
stefan-girlich commentedon Jan 23, 2026
Update:
Using v1.1.34, the blank screen is back in all cases.
opencode- worked; saw network traffic (update?)opencodeagain => black screen is back, as beforeDesktop 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.
gpmarques commentedon Jan 26, 2026
Same issue here:
stefan-girlich commentedon Jan 27, 2026
OpenCode v1.1.36 - works again, MacOS 15.7.3 (24G419)
night-slayer18 commentedon 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
pierrecorsini commentedon Jan 30, 2026
Temporary fix pinning version: code-yeongyu/oh-my-openagent#596 (comment)
rekram1-node commentedon 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/opencodeIf you get a blank screen try these:
OPENCODE_DISABLE_DEFAULT_PLUGINS=true opencodeopencode run hello --print-logs(does it hang? does anything output?)globalreset commentedon Jan 30, 2026
OPENCODE_DISABLE_DEFAULT_PLUGINS=true opencodeworked for me on a completely fresh install with curl instructions on linux. At last, I can finally see the TUI.rekram1-node commentedon Jan 30, 2026
yeah recommend running w/ that env var then for now, what OS/arch are u on?
globalreset commentedon Jan 31, 2026
AlmaLinux 9.7 x86_64
flowfelis commentedon Feb 20, 2026
The version
1.1.53doesn't work withopencode,but works with the workaround
OPENCODE_DISABLE_DEFAULT_PLUGINS=true opencodeI'm on Arch Linux.
I'm attaching
opencode run hello --print-logs-> opencode_logs.txtBTW, What are default plugins? Just to know what we are missing..
globalreset commentedon Mar 12, 2026
It appears this problem is resolved in at least 1.2.24 (didn't test any earlier versions and basically hadn't touched it since Jan 30)
instax-dutta commentedon Jul 31, 2026
Same class of failure here, confirming the root cause wolfie82 identified. Our blank-TUI case (opencode 1.18.10, macOS, Apple Terminal) was caused by a plugin loaded via the
pluginarray inopencode.json(installed from a git URL) combined with invalid JSON in the config (a trailing comma). Result: silent plugin init failure -> blank screen with no error.Diagnostics + fix that worked for us:
opencode --purerenders fine -> confirms it is plugin/config-related (--pureskips external plugins, which makes it a great diagnostic).pluginarray in~/.config/opencode/opencode.jsonand validate the file (python3 -c "import json; json.load(open('...'))"). A syntax error in the config silently aborts plugin loading.rm -rf ~/.cache/opencode/packages/(stale cached plugin repos survive and get re-loaded).~/.local/share/opencode/opencode.db) was never touched.Suggesting the maintainers keep
--pure-style plugin skipping as a documented troubleshooting step in the blank-screen issues, since the failure mode is invisible otherwise.