Skip to content

Opencode error, failed to launch #4074

Closed

Description

@InfiniteVoidLoop

Description

Description

opencode auth login --print-logs --log-level DEBUG
INFO 2025-11-08T10:23:10 +430ms service=default version=1.0.45 args=["auth","login","--print-logs","--log-level","DEBUG"] opencode
INFO 2025-11-08T10:23:10 +1ms service=project directory=/home/phuc fromDirectory

┌ Add credential
INFO 2025-11-08T10:23:10 +11ms service=models.dev file={} refreshing
INFO 2025-11-08T10:23:11 +626ms service=models.dev file={} refreshing
│
◇ Select provider
│ OpenCode Zen
INFO 2025-11-08T10:23:12 +1045ms service=config path=/home/phuc/.config/opencode/config.json loading
INFO 2025-11-08T10:23:12 +0ms service=config path=/home/phuc/.config/opencode/opencode.json loading
INFO 2025-11-08T10:23:12 +1ms service=config path=/home/phuc/.config/opencode/opencode.jsonc loading
INFO 2025-11-08T10:23:12 +1ms service=config path=/home/phuc/.config/opencode/opencode.jsonc loading
INFO 2025-11-08T10:23:12 +0ms service=config path=/home/phuc/.config/opencode/opencode.json loading
INFO 2025-11-08T10:23:12 +1ms service=bun cmd=["/home/phuc/.opencode/bin/opencode","add","@opencode-ai/plugin@1.0.45","--exact"] cwd=/home/phuc/.config/opencode running
INFO 2025-11-08T10:23:12 +2ms service=config path=/home/phuc/.opencode/opencode.jsonc loading
INFO 2025-11-08T10:23:12 +0ms service=config path=/home/phuc/.opencode/opencode.json loading
INFO 2025-11-08T10:23:12 +0ms service=bun cmd=["/home/phuc/.opencode/bin/opencode","add","@opencode-ai/plugin@1.0.45","--exact"] cwd=/home/phuc/.opencode running

OpenCode version

1.0.45

Steps to reproduce

opencode auth login --print-logs --log-level DEBUG

Screenshot and/or share link

Image

Operating System

Arch Linux

Terminal

Alacritty

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 8, 2025
  2. github-actions commented on Nov 8, 2025

    @github-actions
    Contributor

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

    • Opencode error, failed to start #4071: Very similar issue with identical error logs, same command (opencode auth login --print-logs --log-level DEBUG), same version (1.0.45), same terminal (Alacritty), and similar OS (Linux-based). The error logs and behavior appear nearly identical.

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

  3. removed
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 8, 2025
  4. rekram1-node commented on Nov 8, 2025

    @rekram1-node
    Contributor

    @InfiniteVoidLoop im not really
    sure why but the install is taking a long time for you?

    If u just let it play it everything should work, just may take a second for you

    I think if u set OPENCODE_DISABLE_DEFAULT_PLUGINS=true it may be better for u

  5. self-assigned this
    on Nov 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions