Skip to content

Wont start after update to 0.102.0 #12034

Closed

Description

@ByteBrewerJB

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

Activity

  1. added
    bug
    on Feb 17, 2026
  2. added
    CLI
    windows-os
    on Feb 17, 2026
  3. github-actions commented on Feb 17, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  4. changed the title [-]Wont start after update to[/-] [+]Wont start after update to 0.102.0[/+] on Feb 17, 2026
  5. jta5456 commented on Feb 17, 2026

    @jta5456

    Same issue for me

  6. etraut-openai commented on Feb 17, 2026

    @etraut-openai
    Contributor

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

  7. TedmondFromRedmond commented on Feb 17, 2026

    @TedmondFromRedmond

    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.

  8. Wilsman commented on Feb 17, 2026

    @Wilsman

    same here

  9. andi0b commented on Feb 17, 2026

    @andi0b

    Rollback to 101 to get it working: npm install -g @openai/[email protected]

  10. TedmondFromRedmond commented on Feb 17, 2026

    @TedmondFromRedmond

    Rollback to 101 to get it working: npm install -g @openai/[email protected]

    @andi0b - Thanks for the idempotency openai was unable to provide.
    I am running windows 11 with cursor.

  11. geofsguy commented on Feb 17, 2026

    @geofsguy

    I am having the same issue.

  12. davidste commented on Feb 17, 2026

    @davidste

    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/[email protected]
  13. etraut-openai commented on Feb 17, 2026

    @etraut-openai
    Contributor

    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.

  14. davidste commented on Feb 17, 2026

    @davidste

    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.

  15. etraut-openai commented on Feb 17, 2026

    @etraut-openai
    Contributor

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

  16. etraut-openai commented on Feb 18, 2026

    @etraut-openai
    Contributor

    Version 0.103.0 has been published.

  17. MagnificentS commented on Feb 26, 2026

    @MagnificentS

    Any luck? This doesnt work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions