Wont start after update to 0.102.0

Resolved 💬 14 comments Opened Feb 17, 2026 by ByteBrewerJB Closed Feb 18, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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_

View original on GitHub ↗

14 Comments

github-actions[bot] contributor · 5 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #11744

Powered by Codex Action

jta5456 · 5 months ago

Same issue for me

etraut-openai contributor · 5 months ago

Thanks for the bug report. We're able to repro, and we're looking into it. Looks like it affects only the Windows release.

TedmondFromRedmond · 5 months ago

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.

Wilsman · 5 months ago

same here

andi0b · 5 months ago

Rollback to 101 to get it working: npm install -g @openai/codex@0.101.0

TedmondFromRedmond · 5 months ago
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.

geofsguy · 5 months ago

I am having the same issue.

davidste · 5 months ago

Additional triage context in case it helps:

0.102.0 appears to be a partial npm publish from the rust-v0.102.0 workflow run.

That 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 + latest move)?

Current Windows workaround remains:

npm install -g @openai/codex@0.101.0
etraut-openai contributor · 5 months ago

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.

davidste · 5 months ago

the current status also prevent non-windows users to upgrade, FYI. thank you guys for a great work.

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.
etraut-openai contributor · 5 months ago

Surgery wasn't successful. We're publishing a new release: 0.103.0. Should be available in a few minutes.

etraut-openai contributor · 5 months ago

Version 0.103.0 has been published.

MagnificentS · 4 months ago

Any luck? This doesnt work