Skip to content

bun install has become crazy slow #19316

Open
@pekeler

Description

@pekeler

What version of Bun is running?

1.2.10

What platform is your computer?

Darwin 24.3.0 arm64 arm

What steps can reproduce the bug?

$ bun add peer
[0.59ms] ".env.production", ".env"
bun add v1.2.10 (db2e7d7f)

installed [email protected] with binaries:
 - peerjs

104 packages installed [1135.69s]

Same with bun init in a new, blank project with

bun install v1.2.10 (db2e7d7f)
  🔍 Resolving [1/1] 

still running after a minute, while npm init finishes in seconds.

Switching back and forth between different bun versions, it sometimes becomes fast again, but not consistently.

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbun installSomething that relates to the npm-compatible clientperformanceAn issue with performance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions