Error: ENOENT: no such file or directory, open "Error: ENOENT: no such file or directory, open 'C:\Users\willm\AppData\Local\Temp\oai-codex\codex-cli-2025-05-09T15:47:02.log'
Resolved 💬 5 comments Opened May 9, 2025 by will380 Closed Aug 7, 2025
What version of Codex is running?
0.1.2504301751
Which model were you using?
04-mini
What platform is your computer?
Windows
What steps can reproduce the bug?
PS C:\Users\willm\Desktop\uig\github-qhjgu8pk-yvwfd145> codex
Error: ENOENT: no such file or directory, open 'C:\Users\willm\AppData\Local\Temp\oai-codex\codex-cli-2025-05-09T15:47:02.log'
at Module.writeFileSync (node:fs:2426:20)
at pT (file:///C:/Users/willm/AppData/Roaming/npm/node_modules/@openai/codex/dist/cli.js:163:3080)
at file:///C:/Users/willm/AppData/Roaming/npm/node_modules/@openai/codex/dist/cli.js:719:752 {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'C:\\Users\\willm\\AppData\\Local\\Temp\\oai-codex\\codex-cli-2025-05-09T15:47:02.log'
}
What is the expected behavior?
_No response_
What do you see instead?
_No response_
Additional information
_No response_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗