You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Relevant log output
```shell
============================================================
Bun v1.1.10 (5102a944) Windows x64
Args: "C:\Users\~\.bun\bin\bun.exe" "run" "index.ts"
Features: jsc tsconfig(2)
Builtins: "bun:main"
Elapsed: 57ms | User: 0ms | Sys: 15ms
RSS: 116.54MB | Peak: 116.54MB | Commit: 0.16GB | Faults: 28689
panic(main thread): Internal Error: Do not pass posix paths to Windows APIs, was given '\lib\esm\in'. Please open an issue on GitHub with a reproduction.
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.10/wr15102a94AiggggEkzgrT+0l9Pu917Kgsm6L6uh7GotqSs/ryG2/pzJitmyJun40JA0eNoFwTEOwjAMBdCr/K0L6gHYkEDQrRtLFpda1FKwI9shHJ/3Fk12pYqbu/kZV4NaolEEmoX80CiPQBqeoruNwGVd4oRBgbd8WTGVKlvh+BTRacZamYJhjRWkkIjOMMVd8tE3DMkDBOfmtvdXiun8B1kBL0s
error: script "start" exited with code 3
Stack Trace (bun.report)
Bun v1.1.10 (5102a94) on windows x86_64 [RunCommand]
panic: Internal Error: Do not pass posix paths to Windows APIs, was given '\lib\esm\in'. Please open an issue on GitHub with a reproduction.
Electroid
changed the title
panic(main thread): Internal Error: Do not pass posix paths to Windows APIs, was given '\lib\esm\in'.
Do not pass posix paths to Windows APIs, was given '\lib\esm\in'.
May 27, 2024
How can we reproduce the crash?
When I try to import an external file for a function and run this code, the code will throw an exception about bun.
JavaScript/TypeScript code that reproduces the crash?
Stack Trace (bun.report)
Bun v1.1.10 (
5102a94
) on windows x86_64 [RunCommand]panic: Internal Error: Do not pass posix paths to Windows APIs, was given '\lib\esm\in'. Please open an issue on GitHub with a reproduction.
Allocator.zig:225
:allocBytesWithAlignment
debug.zig:348
:panic
bun.zig:3279
:unsafeAssert
sys.zig:832
:openFileAtWindowsNtPath
sys.zig:975
:openFileAtWindowsT
sys.zig:1136
:openA
cache.zig:187
:readFileWithAllocator
bundler.zig:1337
:parseMaybeReturnFileOnlyAllowSharedBuffer
module_loader.zig:1685
:transpileSourceCode
module_loader.zig:2328
:Bun__transpileFile
The text was updated successfully, but these errors were encountered: