Skip to content

bun install fails on v1.2.10 of bun #3196

Closed

Description

@Flux159

Just ran into this cloning repo & trying to get development environment setup. I was on bun v1.2.10 and got this error:

git clone https://github.com/sst/opencode
cd opencode
bun install
bun install v1.2.10 (db2e7d7f)
error: "git clone" for "@typescript/native-preview" failed

error: InstallFailed cloning repository for @typescript/native-preview
...

Along with a lot of "failed to resolve" errors for other dependencies.

Fix for me was to upgrade to bun v1.3.0 (on Mac OS X Tahoe).

bun upgrade
bun install

Going to close issue immediately, but wanted to post in case anyone else runs into this & searches for this error.

Activity

  1. github-actions commented on Oct 15, 2025

    @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. rekram1-node commented on Oct 15, 2025

    @rekram1-node
    Collaborator

    added this to readme:

    To run OpenCode locally you need.
    Bun 1.3 or higher

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions