oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.28k stars 2.77k forks source link

Adding or installing is very slow, and switching images does not improve it #14132

Open wheakerd opened 1 month ago

wheakerd commented 1 month ago

What version of Bun is running?

1.1.29

What platform is your computer?

Linux 6.10.10-200.fc40.x86_64 x86_64 Fedora

What steps can reproduce the bug?

Adding or installing is very slow, and switching images does not improve it.

bun add tsx --dev
bun add v1.1.29 (6d43b366)
  🚚 esbuild...

What is the expected behavior?

No response

What do you see instead?

A package was added without any error, but it was stuck at esbuild. Pausing and retrying did not solve the problem. At the same time, parsing and searching were also very slow, and changing the image did not help.

Additional information

No response

wheakerd commented 1 month ago

I use nodejs's pnpm to install dependencies very quickly. If there is a problem, an error will be reported. However, I switched from node to bun. At this step, I have been waiting for three hours. Should I continue to wait? Or give up bun?

mancuoj commented 1 month ago

same here, even slower than npm, why?