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_
9 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
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
same issue
The developer omitted the 0.120.0-win32-x64 package during packaging.
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.
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
Same as version 120
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
npm install -g "@openai/codex-win32-x64@npm:@openai/codex@0.123.0-win32-x64" ok