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
Run bunx cdk synth ./bin/infrastructure.ts
Note: adding the --bun flag adds a CDK warning that CDK is not tested with the given node version (defaults to the latest even though its not installed)
JavaScript/TypeScript code that reproduces the crash?
bunx cdk synth .\bin\infrastructure.ts
============================================================
Bun v1.1.8 (89d25807) Windows x64
Args: "bun", "bin/infrastructure.ts"
Features: jsc transpiler_cache(4) tsconfig(5)
Builtins: "bun:main""node:buffer""node:constants""node:crypto""node:fs""node:path""node:stream""node:string_decoder""node:util""node:util/types"
Elapsed: 972ms | User: 218ms | Sys: 31ms
RSS: 1.01GB | Peak: 1.01GB | Commit: 1.45GB | Faults: 249498
panic(main thread): index out of bounds
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
Stack Trace (bun.report)
Bun v1.1.8 (89d2580) on windows x86_64 [AutoCommand]
How can we reproduce the crash?
Bun v1.1.8 on Windows using Powershell.
Setup a simple cdk project
Run
bunx cdk synth ./bin/infrastructure.ts
Note: adding the
--bun
flag adds a CDK warning that CDK is not tested with the given node version (defaults to the latest even though its not installed)JavaScript/TypeScript code that reproduces the crash?
Relevant log output
Stack Trace (bun.report)
Bun v1.1.8 (
89d2580
) on windows x86_64 [AutoCommand]panic: index out of bounds
Allocator.zig:228
:allocBytesWithAlignment
js_ast.zig:68
:append
js_ast.zig:3385
:joinWithComma
js_parser.zig:1754
:simpifyUnusedExpr
js_parser.zig:1755
:simpifyUnusedExpr
js_parser.zig:1755
:simpifyUnusedExpr
js_parser.zig:1755
:simpifyUnusedExpr
js_parser.zig:1755
:simpifyUnusedExpr
js_parser.zig:1755
:simpifyUnusedExpr
js_parser.zig:1755
:simpifyUnusedExpr
The text was updated successfully, but these errors were encountered: