-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed as duplicate of#16041
Labels
bun installSomething that relates to the npm-compatible clientSomething that relates to the npm-compatible clientcrashAn issue that could cause a crashAn issue that could cause a crashwindowsAn issue that is known to occur on WindowsAn issue that is known to occur on Windows
Description
package.json file
{
"name": "bun-zero",
"module": "index.ts",
"type": "module",
"private": true,
"devDependencies": {
"@types/bun": "latest"
},
"peerDependencies": {
"typescript": "^5"
}
}How can we reproduce the crash?
- Create an empty project:
bun init -y - Try adding @rocicorp/zero package:
bun add @rocicorp/zero - 💥
Relevant log output
bun add v1.2.8 (adab0f64)
🔍 Resolving [1/1] ============================================================
Bun v1.2.8 (adab0f64) Windows x64
Windows v.win11_dt
CPU: sse42 avx avx2
Args: "C:\Users\<user>\AppData\Local\Microsoft\WinGet\Links\bun.exe" "add" "@rocicorp/zero"
Features: text_lockfile
Elapsed: 238ms | User: 15ms | Sys: 31ms
RSS: 84.66MB | Peak: 84.66MB | Commit: 0.15GB | Faults: 20900
panic(thread 27776): Internal assertion failureat install/npm.zig:2412:66
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:Stack Trace (bun.report)
Bun v1.2.8 (adab0f6) on windows x86_64 [InstallCommand]
panic: Internal assertion failureat install/npm.zig:2412:66
npm.zig:2410:parsenpm.zig:487:getPackageMetadataatomic.zig:16:load
Features: bunfig
Sentry Issue: BUN-7MX
Metadata
Metadata
Assignees
Labels
bun installSomething that relates to the npm-compatible clientSomething that relates to the npm-compatible clientcrashAn issue that could cause a crashAn issue that could cause a crashwindowsAn issue that is known to occur on WindowsAn issue that is known to occur on Windows