On Windows 11, run a api with ElysiaJS. Im on version 1.1.20, when i try to bun upgrade ive got an error (maybe cause of my username in windows with 2 space = "PC BENIN V4"). Here is the output of the upgrade error :
"$ bun upgrade
Bun v1.1.27 is out! You're on v1.1.20
Expand-Archive : Impossible de trouver un paramètre positionnel acceptant l'argument « BENIN ».
Au caractère Ligne:1 : 47
error: Failed to verify Bun (code: FileNotFound))"
Relevant log output
$ bun run dev
$ bun run --watch src/index.ts
============================================================
Bun v1.1.20 (ae194892) Windows x64
CPU: sse42 avx avx2
Args: "C:\Users\PC BENIN V4\.bun\bin\bun.exe" "run" "--watch" "src/index.ts"
Features: jsc Bun.stdin(2) dotenv http_server transpiler_cache(19) tsconfig_paths(2) tsconfig(15)
Builtins: "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:crypto" "node:dns" "node:events" "node:fs" "node:fs/promises" "node:http" "node:net" "node:os" "node:path" "node:process" "node:stream" "node:string_decoder" "node:timers" "node:timers/promises" "node:tls" "node:tty" "node:url" "node:util" "node:util/types" "node:zlib"
Elapsed: 1008ms | User: 578ms | Sys: 218ms
RSS: 0.28GB | Peak: 0.28GB | Commit: 0.36GB | Faults: 69834
panic(main thread): reached unreachable code
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/wr1ae19489AqoghwD6/qiHmm6wN4nooKk3xqKgojizCiom93C___A1
--- Bun is auto-restarting due to crash [time: 1726321094362] ---
============================================================
Bun v1.1.20 (ae194892) Windows x64
Elapsed: 1020ms | User: 578ms | Sys: 156ms
RSS: 0.29GB | Peak: 0.29GB | Commit: 0.36GB | Faults: 70032
panic(main thread): reached unreachable code
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/wr1ae19489AqoghwD6/qiHmm6wNwv6wN4nooKk3xqKgojizCiom93C___A1
--- Bun is auto-restarting due to crash [time: 1726321095442] ---
┌─────────────────────────────────────────────────┐
│ │
│ Elysia v1.1.12 │
│ │
│ 🦊 Elysia is running at http://localhost:8501 │
│ │
└─────────────────────────────────────────────────┘
🦊 Elysia is running at localhost:8501
Connected to MongoDB
Stack Trace (bun.report)
Bun v1.1.20 (ae19489) on windows x86_64 [RunCommand]
How can we reproduce the crash?
On Windows 11, run a api with ElysiaJS. Im on version 1.1.20, when i try to bun upgrade ive got an error (maybe cause of my username in windows with 2 space = "PC BENIN V4"). Here is the output of the upgrade error : "$ bun upgrade Bun v1.1.27 is out! You're on v1.1.20 Expand-Archive : Impossible de trouver un paramètre positionnel acceptant l'argument « BENIN ». Au caractère Ligne:1 : 47
error: Failed to verify Bun (code: FileNotFound))"
Relevant log output
Stack Trace (bun.report)
Bun v1.1.20 (
ae19489
) on windows x86_64 [RunCommand]panic: reached unreachable code
array_list.zig:317
:appendSliceAssumeCapacity
js_ast.zig:2329
:slice
js_ast.zig:3343
:toJS
module_loader.zig:1825
:transpileSourceCode
module_loader.zig:2412
:Bun__transpileFile
ModuleLoader.cpp:470
:Bun::fetchCommonJSModule::<lambda_0>::operator()
CommonJSModuleRecord.cpp:990
:Bun::jsFunctionRequireCommonJS