Skip to content

OpenCode hangs forever during startup in project with TypeScript error #10812

Closed

Description

@clentfort

Description

In this project (extracted from a monorepo) OpenCode hangs forever during startup (does not show Input Box/Banner at all). The only way to exit opencode is to kill it via SIGKILL.

Removing either baseUrl or paths from tsconfig allows OpenCode to start.

Plugins

None

OpenCode version

1.1.36

Steps to reproduce

  1. Checkout repo
  2. Run opencode

Screenshot and/or share link

Well this is akward. Nothing to see.

Image

Operating System

Darwin NB25147.ad.sv.intern 24.6.0 Darwin Kernel Version 24.6.0: Wed Nov 5 21:32:34 PST 2025; root:xnu-11417.140.69.705.2~1/RELEASE_ARM64_T6020 arm64

Terminal

alacritty 0.16.1 (42f49ee), tmux 3.6a

Activity

  1. added
    perfIndicates a performance issue or need for optimization
    on Jan 27, 2026
  2. github-actions commented on Jan 27, 2026

    @github-actions
    Contributor

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

    The common theme appears to be startup initialization hangs with TypeScript configuration issues being a specific trigger in your case. The fact that removing either baseUrl or paths from tsconfig resolves the issue suggests this may be related to how OpenCode processes TypeScript path resolution during startup.

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

  3. github-actions commented on Mar 29, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

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 workingperfIndicates a performance issue or need for optimization

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions