error: Could not resolve: "bun". Maybe you need to "bun install", then "panic" Internal assertion failure. #17874
Labels
assertion failed
Crashes in a build with assertions enabled
bake:dev
hot-reloading dev server for client+server applications
confirmed bug
We can reproduce this issue
How can we reproduce the crash?
I just have a basic index.html with
and an index.ts with
console.log(
Listening on ${server.url}
);Running on Bun v1.2.4.. trying to just follow the "Fullstack Dev Server" example (https://bun.sh/docs/bundler/fullstack).. The weird thing is that I get this both on my Windows 10, and macOS.. I'm not very proficient with the CLI so yeah, I just don't know what to do:)
Running
bun install
gives this output:Relevant log output
Stack Trace (bun.report)
Bun v1.2.4 (
fd9a5ea
) on windows x86_64 [RunCommand]panic: Internal assertion failure
DevServer.zig:2693
:isFileCached
bundle_v2.zig:3123
:runResolutionForParseTask
bundle_v2.zig:3273
:onParseTaskComplete
memory_allocator.zig:31
:mimalloc_free
event_loop.zig:1377
:tickConcurrent
javascript.zig:1329
:eventLoop
bindings.cpp:5248
:JSC__VM__holdAPILock
shimmer.zig:197
:cppFn
Features: tsconfig, http_server, jsc, dev_server
Sentry Issue: BUN-CKE
The text was updated successfully, but these errors were encountered: