RDDT0001: Rolldown Logs Directory Not Found
Package:
@vitejs/devtools-rolldown
Message
Rolldown logs directory
.rolldownnot found, you might want to run build withbuild.rolldownOptions.devtoolsenabled first.
Cause
When the Rolldown DevTools plugin initializes, it looks for the .rolldown directory inside node_modules (checking both the project cwd and process.cwd()). This directory is where Rolldown writes its build logs and debug output. If neither location contains a .rolldown directory, this warning is emitted because the plugin has no data to display.
This typically happens when:
- You have not yet run a build with Rolldown devtools output enabled.
- The
node_modulesdirectory was cleaned or reinstalled without re-running a build. - The project
cwddoes not match the expected root (e.g., running from a different directory).
Fix
Enable devtools output in your Vite/Rolldown config:
tsexport default defineConfig({ build: { rolldownOptions: { devtools: true } } })Run a build so Rolldown produces its log files into
node_modules/.rolldown/.Start the devtools again. The warning should no longer appear.
Source
packages/rolldown/src/node/rpc/utils.ts