Codex flickering issue on running "npm build" via it

Open 💬 0 comments Opened Apr 25, 2026 by 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

  1. When Codex requests sandbox access/permission, click Allow.
  2. Let Codex execute the build in its terminal.
  3. 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_

View original on GitHub ↗