codex ends without doing something
What version of Codex is running?
0.2.3
Which model were you using?
o4-mini
What platform is your computer?
Darwin 24.4.0 arm64 arm
What steps can reproduce the bug?
npm install -g codex
and then running any codex commands.
codex
or
codex --approval-mode auto-edit "build the requirements.md"
What is the expected behavior?
That it does something
What do you see instead?
codex --version
0.2.3
(node:93715) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
(node:93715) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
(node:93715) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(node:93715) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
codex --approval-mode auto-edit "build the requirements.md"
(node:93320) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
(node:93320) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
(node:93320) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(node:93320) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
codex
(node:93606) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
(node:93606) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
(node:93606) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(node:93606) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
Additional information
Here is the requirements.md
https://github.com/klausbreyer/pokerhans/commit/3e0f2bfc2657c37bd3698cbb4778f77043d0c639
6 Comments
I had the same issue, I resolved it in two steps:
~/.codex/config.yamlThanks I will try it out the next time!
Same bug here. Happens on windows and wsl
OMG thank you @mtch99 for the
22.14trick. That solved the issue for me as well. Out of curiosity, what did you configure in your config?The issue here is that you are doing
npm i -g codexinstead ofnpm i -g @openai/codexThank you for the feedback! Please try using the latest version of Codex CLI, which has been rewritten in Rust for improved stability and performance. You can install it with
brew install codex. If the issue persists, feel free to let us know.