Skip to content

Codex flickering issue on running "npm build" via it #19535

@nxcreate

Description

@nxcreate

What version of Codex CLI is running?

codex-cli 0.125.0

What subscription do you have?

Pro

Which model were you using?

gpt-5.5

What platform is your computer?

No response

What terminal emulator and version are you using (if applicable)?

Termux

What issue are you seeing?

Codex terminal flickers/re-renders repeatedly when running npm build after sandbox access is granted.

What steps can reproduce the bug?

Steps to reproduce:

  1. Open Codex terminal/workspace.

  2. Load a Node.js project (React/Vite/Next app).

  3. Ask Codex to run:
    npm run build

  4. When Codex requests sandbox access/permission, click Allow.

  5. Let Codex execute the build in its terminal.

  6. Observe terminal output starts flickering/repainting repeatedly (appears stuck in refresh loop).

Repro frequency:

  • Happens every time / intermittently (choose one)

Expected:
Build runs once and exits normally.

Actual:
Terminal flickers repeatedly and build appears stuck.

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions