Codex unable to run simple npm commands on the workspace
Resolved 💬 5 comments Opened Oct 29, 2025 by urecio Closed Jan 17, 2026
What version of Codex is running?
codex-cli 0.50.0
What subscription do you have?
Plus
Which model were you using?
gpt-5-codex
What platform is your computer?
MacOS x64 (Ventura)
What issue are you seeing?
I have asked the agent to run commands like "npm run dev", and they always get "failed in sandbox: Operation not permitted"
What steps can reproduce the bug?
Uploaded thread: 019a30d4-ea41-71c1-9cac-fc7e230b6921
What is the expected behavior?
_No response_
Additional information
_No response_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗