oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.02k stars 2.75k forks source link

Bun build crashed #14778

Open rsmirnov90 opened 1 week ago

rsmirnov90 commented 1 week ago

How can we reproduce the crash?

I had bun build --watch running in the background for a while (several days), and out of nowhere just found it in a crashed state. Did not do anything out of the ordinary other than edit the same file I was editing before.

The full command was bun build ./src/client/*.ts --outdir ./dist/ --minify --watch.

That wildcard expands to four small .ts files... No files or folders were moved around.

Relevant log output

No response

Stack Trace (bun.report)

Bun v1.1.30 (7996d06) on macos aarch64 [BuildCommand]

panic: Unexpected error while reloading: 2 NOENT

Features: bunfig

github-actions[bot] commented 1 week ago

@rsmirnov90, the latest version of Bun is v1.1.32, but this crash was reported on Bun v1.1.30.

Are you able to reproduce this crash on the latest version of Bun?

bun upgrade
zsj1029 commented 1 week ago

14767