-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Labels
Description
Current Behavior
When running an Nx command like `nx run-many --target=dev --all' with the Terminal User Interface (TUI) enabled, the TUI fails to display any output. The interface shows this:
and when pressing the [Enter] the interface shows this
After that, when using the web app, I imagine logs should appear, but the window remains empty.
Finally when quitting (a, the output shows like this:
Expected Behavior
I imagine the TUI should display real-time output of the command's progress, logs, and results in the terminal interface.
GitHub Repo
No response
Steps to Reproduce
- Set up an Nx workspace with Bun as the package manager (packageManager: "bun@latest" in package.json)
- Ensure TUI is enabled (default behavior in Nx 21+)
- Run any Nx command that should display output
Nx Report
NX Report complete - copy this into the issue template
Node : 24.3.0
OS : darwin-arm64
Native Target : aarch64-macos
bun : 1.2.22
nx : 21.5.3
@nx/js : 21.5.3
@nx/eslint : 21.5.3
@nx/workspace : 21.5.3
@nx/devkit : 21.5.3
@nx/esbuild : 21.5.3
@nx/eslint-plugin : 21.5.3
@nx/module-federation : 21.5.3
@nx/next : 21.5.3
@nx/react : 21.5.3
@nx/rollup : 21.5.3
@nx/vite : 21.5.3
@nx/web : 21.5.3
@nx/webpack : 21.5.3
typescript : 5.9.2
---------------------------------------
Registered Plugins:
@nx/eslint/plugin
---------------------------------------
Cache Usage: 0.00 B / 46.04 GBFailure Logs
Package Manager Version
bun v1.2.22
Operating System
- macOS
- Linux
- Windows
- Other (Please specify)
Additional Information
- The commands actually execute successfully in the background (verified by checking ports/processes)
- Disabling the TUI by setting "tui": { "enabled": false } in nx.json or passing the --outputStyle=stream shows logs in output
- Currently the only workaround seems to be to disable the TUI:
{
"tui": {
"enabled": false
}
}