Skip to content

Bun installs optional dependencies for other platforms #19415

Open
@nojaf

Description

@nojaf

What version of Bun is running?

1.2.11+cb6abd211

What platform is your computer?

Darwin 24.4.0 arm64 arm

What steps can reproduce the bug?

bun i https://pkg.pr.new/rescript-lang/rescript@9a8f133

or

bun i https://pkg.pr.new/rolldown@674e495

What is the expected behavior?

It should not download any packages that don't match my os and architecture.

What do you see instead?

Image

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbun installSomething that relates to the npm-compatible client

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions