Reproduction link or steps
https://github.com/ProCode-Software/rolldown-bug-repro
bun install
bun vite build
More minimal reproduction: https://stackblitz.com/edit/rolldown-rolldown-starter-stackblitz-m6pwjm7m?file=rolldown.config.mjs
What is expected?
My project builds
What is actually happening?
rolldown-vite v7.2.11 building client environment for production...
✓ 17 modules transformed.
✗ Build failed in 49ms
error during build:
Build failed with 1 error:
[UNHANDLEABLE_ERROR] Error: Something went wrong inside rolldown, please report this problem at https://github.com/rolldown/rolldown/issues.
Could not create directory for output chunks: /home/procode/Development/rolldown-bug-repro/dist/esm/_virtual/@oxc-project+runtime@0.103.0/helpers
Caused by:
file name contained an unexpected NUL byte
at aggregateBindingErrorsIntoJsError (file:///home/procode/Development/rolldown-bug-repro/node_modules/rolldown/dist/shared/bindingify-input-options-A-rLIOKA.mjs:61:18)
at unwrapBindingResult (file:///home/procode/Development/rolldown-bug-repro/node_modules/rolldown/dist/shared/bindingify-input-options-A-rLIOKA.mjs:31:128)
at #build (file:///home/procode/Development/rolldown-bug-repro/node_modules/rolldown/dist/shared/rolldown-build-CNW2eye_.mjs:2268:34)
at async buildEnvironment (file:///home/procode/Development/rolldown-bug-repro/node_modules/vite/dist/node/chunks/node.js:32805:64)
at async Object.build (file:///home/procode/Development/rolldown-bug-repro/node_modules/vite/dist/node/chunks/node.js:33208:19)
at async Object.buildApp (file:///home/procode/Development/rolldown-bug-repro/node_modules/vite/dist/node/chunks/node.js:33205:153)
at async CAC.<anonymous> (file:///home/procode/Development/rolldown-bug-repro/node_modules/vite/dist/node/cli.js:629:3)
error: "vite" exited with code 1
error: script "build" exited with code 1
System Info
System:
OS: Linux 6.17 Ubuntu 25.10 25.10 (Questing Quokka)
CPU: (8) x64 Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz
Memory: 11.73 GB / 14.89 GB
Container: Yes
Shell: 5.3.0 - /bin/bash
Binaries:
Node: 25.0.0 - /home/procode/.nvm/versions/node/v25.0.0/bin/node
npm: 11.6.2 - /home/procode/.nvm/versions/node/v25.0.0/bin/npm
bun: 1.3.5 - /home/procode/.bun/bin/bun
Deno: 2.4.1 - /home/procode/.deno/bin/deno
Browsers:
Brave Browser: 143.1.85.117
Any additional comments?
No response
Reproduction link or steps
https://github.com/ProCode-Software/rolldown-bug-repro
More minimal reproduction: https://stackblitz.com/edit/rolldown-rolldown-starter-stackblitz-m6pwjm7m?file=rolldown.config.mjs
What is expected?
My project builds
What is actually happening?
System Info
System: OS: Linux 6.17 Ubuntu 25.10 25.10 (Questing Quokka) CPU: (8) x64 Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz Memory: 11.73 GB / 14.89 GB Container: Yes Shell: 5.3.0 - /bin/bash Binaries: Node: 25.0.0 - /home/procode/.nvm/versions/node/v25.0.0/bin/node npm: 11.6.2 - /home/procode/.nvm/versions/node/v25.0.0/bin/npm bun: 1.3.5 - /home/procode/.bun/bin/bun Deno: 2.4.1 - /home/procode/.deno/bin/deno Browsers: Brave Browser: 143.1.85.117Any additional comments?
No response