Codex initialization error: error: The parameter is incorrect. (os error 87)

Open 💬 2 comments Opened Jul 30, 2026 by qijunyu
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What issue are you seeing?

运行codex初始化报错:error: 参数错误(os error 87)。我这是在内网安装的

What steps can reproduce the bug?

内网电脑 win10 安装了常用c++运行库等,运行其他的都可以:
C:\Users\Lenovo>where codex
D:\codex\node_modules\.bin\codex
D:\codex\node_modules\.bin\codex.cmd

C:\Users\Lenovo>codex --version
codex-cli 0.144.5
但是运行codex就报错:error: 参数错误(os error 87)

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 29 days ago

English translation:

What issue are you seeing?

Running Codex produces an initialization error: error: The parameter is incorrect. (os error 87). I installed it on an internal network.

What steps can reproduce the bug?

The internal-network Windows 10 computer has the commonly used C++ runtime libraries and other dependencies installed, and everything else runs correctly:
C:\Users\Lenovo>where codex
D:\codex\node_modules\.bin\codex
D:\codex\node_modules\.bin\codex.cmd

C:\Users\Lenovo>codex --version
codex-cli 0.144.5
However, running codex produces this error: error: The parameter is incorrect. (os error 87)

What is the expected behavior?

_No response_

Additional information

_No response_

<!-- codex-issue-translator -->

github-actions[bot] contributor · 29 days ago

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

  • #35427

Powered by Codex Action