Unable to use after update

Resolved 💬 9 comments Opened Apr 10, 2026 by DHJComical Closed Apr 16, 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.119.0

What subscription do you have?

Other API

Which model were you using?

gpt-5.3-codex

What platform is your computer?

_No response_

What terminal emulator and version are you using (if applicable)?

PowerShell

What issue are you seeing?

PS D:\Github Desktop> codex
file:///D:/Program%20Files/nvm/v20.19.6/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:///D:/Program%20Files/nvm/v20.19.6/node_modules/@openai/codex/bin/codex.js:100:11
at ModuleJob.run (node:internal/modules/esm/module_job:325:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:606:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5)

Node.js v20.19.6

What steps can reproduce the bug?

Updated from 0.118.0 to 0.119.0

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

9 Comments

github-actions[bot] contributor · 3 months ago

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

  • #16408
  • #16209

Powered by Codex Action

nickfan · 3 months ago

npm install -g "@openai/codex-win32-x64@npm:@openai/codex@0.119.0-win32-x64"
got error:
npm error code ETARGET
npm error notarget No matching version found for @openai/codex@0.119.0-win32-x64.
npm error notarget In most cases you or one of your dependencies are requesting
npm error notarget a package version that doesn't exist.
npm error A complete log of this run can be found in: C:\Users\user\AppData\Local\npm-cache\_logs\2026-04-10T23_35_45_339Z-debug-0.log

npm install -g "@openai/codex-win32-x64@npm:@openai/codex@0.118.0-win32-x64" ok

lifeafter619 · 3 months ago

same issue

SenyFish · 3 months ago

The developer omitted the 0.120.0-win32-x64 package during packaging.

etraut-openai contributor · 3 months ago

Can you try again? I suspect the upload of those dependent packages was just slow, and you hit it during the window before it was uploaded.

DHJComical · 3 months ago

PS D:\Github Desktop> npm install -g @openai/codex@latest

removed 1 package, and changed 1 package in 2s
PS D:\Github Desktop> codex
file:///D:/Program%20Files/nvm/v20.19.6/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:///D:/Program%20Files/nvm/v20.19.6/node_modules/@openai/codex/bin/codex.js:100:11
at ModuleJob.run (node:internal/modules/esm/module_job:325:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:606:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5)

Node.js v20.19.6

DHJComical · 3 months ago
Can you try again? I suspect the upload of those dependent packages was just slow, 和 you hit it during the window before it was uploaded.你能再试一次吗?我怀疑那些依赖包裹的上传速度很慢,和你是在上传前的窗口内按到的。

Same as version 120

nickfan · 2 months ago

npm install -g "@openai/codex-win32-x64@npm:@openai/codex@0.124.0-win32-x64"
npm error code ETARGET
npm error notarget No matching version found for @openai/codex@0.124.0-win32-x64.
npm error notarget In most cases you or one of your dependencies are requesting
npm error notarget a package version that doesn't exist.
npm error A complete log of this run can be found in: C:\Users\user\AppData\Local\npm-cache\_logs\2026-04-24T00_59_58_382Z-debug-0.log

nickfan · 2 months ago

npm install -g "@openai/codex-win32-x64@npm:@openai/codex@0.123.0-win32-x64" ok