bun icon indicating copy to clipboard operation
bun copied to clipboard

Bun install hangs after showing 100% progress

Open luckyyyyy opened this issue 2 months ago • 9 comments

What version of Bun is running?

1.1.38

What platform is your computer?

Linux 5.15.153.1-microsoft-standard-WSL2 x86_64 x86_64

What steps can reproduce the bug?

Description When running bun install, the process hangs after showing 100% progress. This happens both during initial dependency resolution and native modules installation phase.

To Reproduce Steps to reproduce the behavior:

  1. Create a new project directory
  2. Run bun install --no-cache
  3. Process shows full progress but hangs at two points:

First run:

bun install v1.1.38 (bf2f153f)
  🔍 electron-to-chromium [2283/2283] 

Second run (native modules installation):

bun install v1.1.38 (bf2f153f)
  🔍 node-opencv [9/9] 

In both cases, the progress shows 100% but the process doesn't complete.

Additional context

  • Using --no-cache flag
  • Project contains Node native modules/addons
  • Progress reaches 100% and hangs at multiple stages:
    1. During initial dependency resolution
    2. During native modules installation
  • No error messages, just hangs indefinitely
  • Process has to be manually terminated

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

luckyyyyy avatar Dec 05 '24 12:12 luckyyyyy