You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex unable to run simple npm commands on the workspace #5925
Having the same issue, using nvm, even in full-approval mode still not able to use npm/node commands or go commands. doesn't ask for approval just fails.
In fact, no programs installed with npm are available to codex. I've tried different options for [shell_environment_policy] to no avail. Everything works with tools like Copilot and Gemini CLI and Claude Code.
Activity
github-actions commentedon Oct 29, 2025
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
samcharles93 commentedon Oct 29, 2025
Having the same issue, using nvm, even in full-approval mode still not able to use npm/node commands or go commands. doesn't ask for approval just fails.
facelezzzz commentedon Oct 30, 2025
Having the same issue, “Operation not permitted” when "mvn -q -DskipTests compile"
fix(exec): keep PATH for npm workspace commands (openai#5925)
Mikkolehtimaki commentedon Nov 7, 2025
Same here,
npm: command not found.In fact, no programs installed with npm are available to codex. I've tried different options for
[shell_environment_policy]to no avail. Everything works with tools like Copilot and Gemini CLI and Claude Code.etraut-openai commentedon Jan 17, 2026
Closing out old bugs.