oven-sh / bun

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

Error While Installing Packages Using Bun #14233

Open smrsan opened 4 weeks ago

smrsan commented 4 weeks ago

Bun v1.1.20 (ae194892) Windows x64 CPU: sse42 avx avx2 Args: "C:\Users\Rz.bun\bin\bun.exe" "i" Features: dotenv extracted_packages(104) binlinks(38) Elapsed: 78049ms | User: 1734ms | Sys: 14953ms RSS: 0.16GB | Peak: 0.16GB | Commit: 0.23GB | Faults: 45515

panic(main thread): Ran callback to install enqueued packages, but there was no task associated with it. 1068 src.install.install.ExtractData{ .url = { 104, 116, 116, 112, 115, 58, 47, 47, 114, 101, 103, 105, 115, 116, 114, 121, 46, 110, 112, 109, 106, 115, 46, 111, 114, 103, 47, 97, 99, 99, 101, 112, 116, 115, 47, 45, 47, 97, 99, 99, 101, 112, 116, 115, 45, 50, 46, 48, 46, 48, 46, 116, 103, 122 }, .resolved = { }, .json = src.install.install.ExtractData.ExtractData__struct_32361{ .path = { }, .buf = { } } }
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

To send a redacted crash report to Bun's team, please file a GitHub issue using the link below:

https://bun.report/1.1.20/wi1ae19489AgohgggC+owiM+81sIor7kF4k+kFmxgkFqp9gFy6k9E2yllGqtfi8IA0eNqNUFFuhSAQvMocgBDwqdWP99deoBcwK9JqNfoKS18T07s3iCTtVxuysyw7OzvhmVYYWpaezAzeMK2eaVlg1/dggx1wIzPTq/UCfWDwaJ3FnTzWDUx+Bnm/mYnYDrhPPGJiCa3qBt4ZearlLJ8+2ZHhR2LaIYNbcMUOrUoBresMuohQCVSNQPmQQutIUjrCJUJ1ks6Z2C20QHlUKsuoNkJ9clNTZ34UitptjDZFWpEs5LHDQ/VPbvSt0qqy+Z0T67BfFPgSkM76bfmww/EPx8ub31Zc//q9n/eu8+yC4e5SXGq9Q96IxywI2YeXs4jnG9G+gdI

smrsan commented 4 weeks ago

After reinstalling all packages using "npm", removing both bun.lockb and node_modules, then reinstalling all packages using "bun" and migrating from package-lock.json, it worked and all packages were installed successfully.

nektro commented 2 weeks ago

Bun v1.1.20 (ae19489) on windows x86_64 [InstallCommand]

panic: Ran callback to install enqueued packages, but there was no task associated with it. 698 src.install.install.ExtractData{ .url = { 104, 116, 116, 112, 115, 58, 47, 47, 114, 101, 103, 105, 115, 116, 114, 121, 46, 110, 112, 109, 109, 105, 114, 114, 111, 114, 46, 99, 111, 109, 47, 101, 108, 121, 115, 105, 97, 47, 45, 47, 101, 108, 121, 115, 105, 97, 45, 49, 46, 49, 46, 52, 46, 116, 103, 122 }, .resolved = { }, .json = src.install.install.ExtractData.ExtractData__struct_32361{ .path = { }, .buf = { } } }

nektro commented 2 weeks ago

does this reproduce for you if you use Bun 1.1.29? (you may install it with bun upgrade)