Crash Report Uploaded

Your redacted crash report has been sent to the Bun team for internal tracking.

Help us fix it

To help get it fixed faster, provide source code and detailed reproduction steps via bun feedback

View Stack Trace
Bun v1.3.14 ([`0d9b296`](<https://github.com/oven-sh/bun/tree/0d9b296af33f2b851fcbf4df3e9ec89751734ba4>)) on linux x86_64 [AutoCommand] **panic**: NAPI FATAL ERROR: Error::New napi_create_error - [`napi.zig:1189`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/napi/napi.zig#L1189>): `napi_fatal_error` - `??` - `??` - `??` - `??` - [`napi_finalizer.cpp:13`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/bindings/napi_finalizer.cpp#L13>): `Bun::NapiFinalizer::call` - [`napi.h:742`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/bindings/napi.h#L742>): `Zig::NapiRef::callFinalizer` - [`napi.h:460`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/./build/release/../../src/jsc/bindings/napi.h#L460>): `NapiEnv::BoundFinalizer::call(...) const` - [`napi.h:211`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/./build/release/../../src/jsc/bindings/napi.h#L211>): `NapiEnv::cleanup` - [`napi.cpp:2993`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/./build/release/../../src/jsc/bindings/napi.cpp#L2993>): `napi_internal_cleanup_env_cpp` - [`napi.zig:1351`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/napi/napi.zig#L1351>): `napi.napi.napi_internal_register_cleanup_zig.callback` - [`rare_data.zig:517`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/rare_data.zig#L517>): `jsc.rare_data.CleanupHook.execute` - [`VirtualMachine.zig:953`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/VirtualMachine.zig#L953>): `jsc.VirtualMachine.onExit` - [`web_worker.zig:726`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/web_worker.zig#L726>): `jsc.web_worker.shutdown` - [`web_worker.zig:0`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/web_worker.zig#L0>): `jsc.web_worker.spin` - [`jsc.zig:234`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/jsc.zig#L234>): `jsc.jsc.OpaqueWrap.callback` - [`bindings.cpp:4899`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/./build/release/../../src/jsc/bindings/bindings.cpp#L4899>): `JSC__VM__holdAPILock` - [`VM.zig:35`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/VM.zig#L35>): `jsc.VM.VM.holdAPILock` - [`web_worker.zig:435`](<https://github.com/oven-sh/bun/blob/0d9b296af33f2b851fcbf4df3e9ec89751734ba4/src/jsc/web_worker.zig#L435>): `jsc.web_worker.threadMain` - [`Thread.zig:509`](<https://github.com/oven-sh/zig/blob/bun-0d9b296af33f2b851fcbf4df3e9ec89751734ba4/lib/std/Thread.zig#L509>): `Thread.callFn` - [`Thread.zig:781`](<https://github.com/oven-sh/zig/blob/bun-0d9b296af33f2b851fcbf4df3e9ec89751734ba4/lib/std/Thread.zig#L781>): `Thread.PosixThreadImpl.spawn.Instance.entryFn` Features: spawn, transpiler\_cache, tsconfig, virtual\_modules, workers\_spawned, workers\_terminated, process\_dlopen, yaml\_parse, Bun.stderr, Bun.stdin, Bun.stdout, WebSocket, abort\_signal, dotenv, fetch, http\_server, jsc, shell, shell