Wont start after update to 0.102.0
What version of Codex CLI is running?
0.102.0
What subscription do you have?
Pro
Which model were you using?
_No response_
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What terminal emulator and version are you using (if applicable)?
Windows Terminal
What issue are you seeing?
after npm install -g @openai/codex@latest
PS C:\DevOps\ABCDE> npm install -g @openai/codex@latest
added 6 packages, and changed 1 package in 675ms
PS C:\DevOps\ABCDE> codex
file:///C:/Users/ABCDE/AppData/Roaming/npm/node_modules/@openai/codex/bin/codex.js:100
throw new Error(
^
Error: Missing optional dependency @openai/codex-win32-x64. Reinstall Codex: npm install -g @openai/codex@latest
at file:///C:/Users/ABCDE/AppData/Roaming/npm/node_modules/@openai/codex/bin/codex.js:100:11
at ModuleJob.run (node:internal/modules/esm/module_job:371:25)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:669:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5)
Node.js v24.6.0
Reinstall makes no difference
What steps can reproduce the bug?
npm install -g @openai/codex@latest
then run codex on windows
What is the expected behavior?
_No response_
Additional information
_No response_
14 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Same issue for me
Thanks for the bug report. We're able to repro, and we're looking into it. Looks like it affects only the Windows release.
After update, stopped me from working. wth?
In the name of idempotency, we need a rollback command and plan from you all. This is a critical part of work producitivity,automation, and installation. Please provide.
same here
Rollback to 101 to get it working:
npm install -g @openai/codex@0.101.0@andi0b - Thanks for the idempotency openai was unable to provide.
I am running windows 11 with cursor.
I am having the same issue.
Additional triage context in case it helps:
0.102.0appears to be a partial npm publish from therust-v0.102.0workflow run.publish-npmjob: https://github.com/openai/codex/actions/runs/22112374300/job/63916210786@openai/codex@0.102.0and darwin/linux variantsE401 Unauthorized ... token is invalidpublish-npmjob: https://github.com/openai/codex/actions/runs/22112374300/job/63917866894You cannot publish over the previously published versions: 0.102.0That seems to explain why users got a broken install path on Windows (missing
0.102.0-win32-*) while non-Windows variants were already in the registry.Could maintainers confirm expected recovery path/timeline (e.g. next full release +
latestmove)?Current Windows workaround remains:
Yes, your analysis matches ours. This was an incomplete publish. We're working on a fix — either a surgical update to the Windows variant of 0.102.0 or a full new publish of 0.103.0.
In the meantime, downgrading to 0.101.0 is a workaround.
the current status also prevent non-windows users to upgrade, FYI. thank you guys for a great work.
Surgery wasn't successful. We're publishing a new release: 0.103.0. Should be available in a few minutes.
Version 0.103.0 has been published.
Any luck? This doesnt work