devika
devika copied to clipboard
bun install gives error in windows | Project devika
How can we reproduce the crash?
run bun install from UI folder in the repo, on a windows machine.
Runtime: Miniconda Python 3.11 Windows 11x64
JavaScript/TypeScript code that reproduces the crash?
No response
Relevant log output
bun install v1.1.7 (b0b7db5c)
🔒 Saving lockfile... ============================================================
Bun v1.1.7 (b0b7db5c) Windows x64
Args: "C:\Users\NAME\AppData\Roaming\npm\\node_modules\bun\bin\bun.exe", "install"
Elapsed: 359ms | User: 0ms | Sys: 15ms
RSS: 53.23MB | Peak: 53.23MB | Commit: 92.04MB | Faults: 13186
panic(main thread): Internal assertion failure
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:
<link>
Stack Trace (bun.report)
Bun v1.1.7 (b0b7db5) on windows x86_64 [InstallCommand]
panic: Internal assertion failure
-
debug.zig:373:panicExtra -
debug.zig:348:panic -
output.zig:356:panic -
bun.zig:3159:assertionFailure -
lockfile.zig:4883:save -
lockfile.zig:1643:saveToDisk -
install.zig:10880:installWithManager -
filter_run.zig:428:install -
cli.zig:1440:start -
cli.zig:62:start
I got this as well. Going back to the 2nd to latest commit (cdfb782b0e634b773b10963c8034dc9207ba1f9f) got things working for me.
I got same issue.
If you dont want to use Bun, just try "pnpm". It works on my windows 11.
delete the existing lock file and then bun install