PANE

Bun users encounter errors with macros and console output

10 posts since Mar 2025, all from GitHub.

“What version of Bun is running? 1.4.3+c6da4a4d3 (also 1.4.2). Works on 1.3.14. What platform is your computer? Darwin 25.6.0 arm64 arm What steps can reproduce the bug? Four files in one directory: What is the expected behavior? The macro runs at transpile time and the call is…”
GitHub
“What version of Bun is running? 1.4.2+744846f84 What platform is your computer? Darwin 27.0.0 arm64 What steps can reproduce the bug? Save it as child process.mjs and run it with node and with bun . What is the expected behavior? Node.js 24.21.0 prints: In Node, spawn() sets…”
GitHub
“What version of Bun is running? 1.4.3 canary.1+367d939d9 (also main at 6d504dd983) What platform is your computer? Linux x64 (the code path is platform independent) What steps can reproduce the bug? What is the expected behavior? bash and dash print a b c . The output of an…”
GitHub

Users are facing issues with Bun, including problems with macro usage, incorrect console output for async generators, misleading error messages, and AggregateError display. These bugs hinder development workflows.

devtoolspain-tagjavascript
FIT
0%
SIGNAL
71%
SOURCES10
FRESHEST POST8D AGO
TRACKED SINCE47D AGO

SOURCES (10)

“What version of Bun is running? 1.4.3+c6da4a4d3 (also 1.4.2). Works on 1.3.14. What platform is your computer? Darwin 25.6.0 arm64 arm What steps can reproduce the bug? Four files in one directory: What is the expected behavior? The macro runs at transpile time and the…”

GITHUB8d ago

“What version of Bun is running? 1.4.2+744846f84 What platform is your computer? Darwin 27.0.0 arm64 What steps can reproduce the bug? Save it as child process.mjs and run it with node and with bun . What is the expected behavior? Node.js 24.21.0 prints: In Node, spawn() sets stdin , stdout , stderr and stdio as plain properties on the instance, and connected is a writable own property that starts as false . Before a spawn you can read them and assign to them. What do you see instead? Bun 1.4.2 p”

GITHUB10d ago

“What version of Bun is running? 1.4.3 canary.1+367d939d9 (also main at 6d504dd983) What platform is your computer? Linux x64 (the code path is platform independent) What steps can reproduce the bug? What is the expected behavior? bash and dash print a b c . The output of an unquoted command substitution is split into fields on the default IFS : space, tab and newline. echo gets three arguments. What do you see instead? echo gets one argument that contains the two tabs. Tab separated output from”

GITHUB25d ago

“What version of Bun is running? 1.4.0+34cbb9a40 What platform is your computer? Linux 6.18.33.2 microsoft standard WSL2 x86 64 unknown What steps can reproduce the bug? A defined feature will not be used in a file imported as macro . Write these three files and run the shell command. What is the expected behavior? What do you see instead? Additional information I use a "dynamic" macro that changes based on an environment variable (or a feature if it worked) to create development data at build ti”

GITHUBSep 1

“What version of Bun is running? 1.3.0+b0a6feca5 What platform is your computer? Linux 6.8.0 85 generic x86 64 x86 64 What steps can reproduce the bug? 1. create a file with the following content: 2. run it like What is the expected behavior? It should give no output, since the above does not throw a SyntaxError in Node.js. What do you see instead? Additional information The method is not tied to any missing feature listed in bun documentation, in regards of .”

GITHUBOct 2025

“What version of Bun is running? 1.2.20 debug+97a530d83 What platform is your computer? Darwin 24.5.0 arm64 arm What steps can reproduce the bug? What is the expected behavior? What do you see instead? Additional information it should be more clear the errors are part of an AggregateError the AggregateError's own message should be printed”

GITHUBAug 2025

“What version of Bun is running? 1.2.18+0d4089ea7 What platform is your computer? Darwin 24.3.0 arm64 arm What steps can reproduce the bug? Any of the following (and more): What is the expected behavior? Something more precise, like: fetch() URL must have a hostname What do you see instead? fetch() URL must not be a blank string Additional information Link to offending line in Bun sources: https://github.com/oven sh/bun/blob/bd232189b4c39ac3c8ccef9cf0932407d65c527a/src/bun.js/webcore/fetch.zig L1”

GITHUBJul 2025

“What version of Bun is running? 1.2.15 canary.63+df017990a What platform is your computer? Darwin 24.4.0 arm64 arm What steps can reproduce the bug? What is the expected behavior? What do you see instead? <details <summary Additional information</summary If you are an automated agent, we have a streamlined process for merging agent PRs. Just add 🤖🤖🤖 to the end of the PR title to opt in. Merging your PR will be fast tracked. </details”

GITHUBMay 2025

“What version of Bun is running? 1.2.15 canary.63+df017990a What platform is your computer? Darwin 24.4.0 arm64 arm What steps can reproduce the bug? Run trace.js and observe what is printed to stdout and what to stderr: What is the expected behavior? Trace is printed to stderr (observed because redirecting stdout has no effect): What do you see instead? Trace is printed to stdout: <details <summary Additional information</summary If you are an automated agent, we have a streamlined process for m”

GITHUBMay 2025

“What version of Bun is running? 1.2.6 canary.74+74768449b What platform is your computer? Microsoft Windows NT 10.0.19045.0 x64 What steps can reproduce the bug? What is the expected behavior? Node Object [AsyncGenerator] {} What do you see instead? Bun {} Additional information No response”

GITHUBMar 2025

SOLUTION LANDSCAPE

Brought to you byTop Sectors

A Player feature.See how many ways this pain can be solved, who's already building, and where the gaps are.