devika icon indicating copy to clipboard operation
devika copied to clipboard

bun install gives error in windows | Project devika

Open HarshavardhanNetha opened this issue 1 year ago • 2 comments

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

HarshavardhanNetha avatar May 10 '24 07:05 HarshavardhanNetha

I got this as well. Going back to the 2nd to latest commit (cdfb782b0e634b773b10963c8034dc9207ba1f9f) got things working for me.

tomwg123 avatar May 10 '24 21:05 tomwg123

I got same issue.

image image image

If you dont want to use Bun, just try "pnpm". It works on my windows 11.

fangfsz avatar May 11 '24 15:05 fangfsz

delete the existing lock file and then bun install

ARajgor avatar May 15 '24 16:05 ARajgor