Skip to content

Codex PATH seems to no longer match system PATH (can't run node) #6243

@matthew-plusprogramming

Description

@matthew-plusprogramming

What version of the VS Code extension are you using?

0.4.35

What subscription do you have?

Plus

Which IDE are you using?

VS Code

What platform is your computer?

Darwin 24.6.0 arm64 arm

What issue are you seeing?

So recently my codex agent stopped being able to run commands like node and such. After a little debugging my guess is that the PATH variable no longer matches my system's PATH and so it can't find my node executable and similar executables.

What steps can reproduce the bug?

I just said Try running node and it cannot find the node executable. Although it works when I run on my terminal.

What is the expected behavior?

The agent should be able to run a command like node --version

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingextensionIssues related to the VS Code extensiontool-callsIssues related to tool calling

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions