Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when renaming CSS file during dev server on html file #18000

Open
mrbrianevans opened this issue Mar 8, 2025 · 0 comments
Open

Crash when renaming CSS file during dev server on html file #18000

mrbrianevans opened this issue Mar 8, 2025 · 0 comments
Labels
crash An issue that could cause a crash runtime windows An issue that is known to occur on Windows

Comments

@mrbrianevans
Copy link

How can we reproduce the crash?

I was running

bun index.html

where the html file referenced a .scss file. But since bun doesn't support sass I renamed it to .css, which triggered this crash.

The code I ran it on is open source so you can try it for yourself to reproduce:

Relevant log output

[x2] Reloaded in 3ms: index.html
error: File not found "C:\Users\bme\projects\brianevans-tech\src\styles\index.scss"
    at C:\Users\bme\projects\brianevans-tech\src\styles\index.scss
============================================================
Bun v1.2.4 (fd9a5ea6) Windows x64
Windows v.win10_cu
CPU: sse42 avx avx2
Args: "C:\Users\bme\.bun\bin\bun.exe" ".\index.html"
Features: Bun.stdin(2) http_server jsc dev_server tsconfig(8) 
Builtins: "node:buffer" "node:string_decoder" "node:util/types" 
Elapsed: 64823ms | User: 328ms | Sys: 125ms
RSS: 0.15GB | Peak: 0.17GB | Commit: 0.21GB | Faults: 53115

panic(main thread): Internal assertion failure
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

Stack Trace (bun.report)

Bun v1.2.4 (fd9a5ea) on windows x86_64 [AutoCommand]

panic: Internal assertion failure

Features: tsconfig, tsconfig_paths, Bun.stdin, http_server, jsc, dev_server

Sentry Issue: BUN-D1V

@mrbrianevans mrbrianevans added the crash An issue that could cause a crash label Mar 8, 2025
@github-actions github-actions bot added runtime windows An issue that is known to occur on Windows labels Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash An issue that could cause a crash runtime windows An issue that is known to occur on Windows
Projects
None yet
Development

No branches or pull requests

1 participant