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
Use codefile project root that is an absolute symlink to elsewhere
Include the code file as import { foo } from "./codefile"
Problem can be worked around by switching symlinks to junctions, but that's not a really good solution.
Relevant log output
Bun Canary v1.1.44-canary.30 (487da0ae) Windows x64
Windows v.win10_fe
CPU: sse42 avx avx2
Args: "C:\Users\matia\.bun\bin\bun.exe""run""./appNodeAzure.ts"
Features: jsc tsconfig
Builtins: "bun:main"
Elapsed: 39ms | User: 0ms | Sys: 0ms
RSS: 102.26MB | Peak: 102.26MB | Commit: 0.15GB | Faults: 25194
panic(main thread): Internal Error: Do not pass posix paths to Windows APIs, was given '\_PROJECTS\OinoCloud\azure\src\azureSmtpClient.ts'. Please open an issue on GitHub with a reproduction.
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
Stack Trace (bun.report)
Bun v1.1.44-canary (487da0a) on windows x86_64 [RunCommand]
panic: Internal Error: Do not pass posix paths to Windows APIs, was given '_PROJECTS\OinoCloud\azure\src\azureSmtpClient.ts'. Please open an issue on GitHub with a reproduction.
How can we reproduce the crash?
import { foo } from "./codefile"
Problem can be worked around by switching symlinks to junctions, but that's not a really good solution.
Relevant log output
Stack Trace (bun.report)
Bun v1.1.44-canary (
487da0a
) on windows x86_64 [RunCommand]panic: Internal Error: Do not pass posix paths to Windows APIs, was given '_PROJECTS\OinoCloud\azure\src\azureSmtpClient.ts'. Please open an issue on GitHub with a reproduction.
string_immutable.zig:2039
:assertIsValidWindowsPath
sys.zig:2619
:getFileAttributes
fs.zig:386
:kind
resolver.zig:3753
:loadAsFile
resolver.zig:3514
:loadAsFileOrDirectory
resolver.zig:1237
:resolveWithoutSymlinks
javascript.zig:2611
:_resolve
exports.zig:84
:resolve
headers-handwritten.h:451
:BunString::deref
JSModuleLoader.cpp:267
:JSC::JSModuleLoader::resolve
Features: jsc, tsconfig, tsconfig
Sentry Issue: BUN-B4B
The text was updated successfully, but these errors were encountered: