oven-sh / bun

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

Bun install crash (Windows, can't reproduce) #12118

Open Razunter opened 1 week ago

Razunter commented 1 week ago

How can we reproduce the crash?

Can't reproduce, worked on the second try

Relevant log output

bun add v1.1.16 (bf7b327f)
============================================================
Bun v1.1.16 (bf7b327f) Windows x64
Args: "bun" "install" "-D" "postcss-load-config"
Features: dotenv(2) extracted_packages(4)
Elapsed: 869ms | User: 15ms | Sys: 78ms
RSS: 121.80MB | Peak: 121.80MB | Commit: 0.20GB | Faults: 30111

panic(main thread): index out of bounds: index 3196, len 3093

Stack Trace (bun.report)

Bun v1.1.16 (bf7b327) on windows x86_64 [InstallCommand]

panic: index out of bounds: index 3196, len 3093

dylan-conway commented 1 week ago

Can you share the package.json and bun.lockb for this project?

Razunter commented 1 week ago

package.json bun.lockb.zip

dylan-conway commented 1 week ago

Having trouble reproducing this bug with your package.json and lockfile. Do you have this crash with each install?

Edit: sorry, read in your description it's working with the second try