Skip to content

Bun add hangs forever #10921

Closed
Closed

Description

@dpuyosa

Description

Sometimes bun gets stuck when updating or downloading packages. Mostly the provider npm package.

log.info("installing package using Bun's default registry resolution", {

Having the --no-cache fixes the issue but makes this run slower.

...(proxied ? ["--no-cache"] : []),

Could there be a way to set a timeout for this, and in that case run again with --no-cache option? That way it will usually run at default speed, but if failing, the app wont get stuck forever

Plugins

No response

OpenCode version

v1.1.36

Steps to reproduce

Only sometimes:

  • Chat with a provider that is not included with OpenCode

Screenshot and/or share link

No response

Operating System

Windows 10

Terminal

cmder

Activity

  1. github-actions commented on Jan 28, 2026

    @github-actions
    Contributor

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

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

  2. changed the title [-]Bun add hand for ever[/-] [+]Bun add hangs forever[/+] on Jan 28, 2026
  3. github-actions commented on Mar 30, 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 optimizationwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions