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:
- Open Codex terminal/workspace.
- Load a Node.js project (React/Vite/Next app).
- Ask Codex to run:
npm run build
- When Codex requests sandbox access/permission, click Allow.
- Let Codex execute the build in its terminal.
- 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_