Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Nx TUI Not Displaying Output When Using Bun as Package Manager #32803

@danielbakas

Description

@danielbakas

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:

Image

and when pressing the [Enter] the interface shows this

Image

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:

Image

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

  1. Set up an Nx workspace with Bun as the package manager (packageManager: "bun@latest" in package.json)
  2. Ensure TUI is enabled (default behavior in Nx 21+)
  3. 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 GB

Failure 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
  }
}

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions