Skip to content

NodeJSProcess as an InteractiveProcess can't locate the tool #21205

Open
@DanConway

Description

@DanConway

Describe the bug
Running a NodeJSToolProcess as an InteractiveProcess fails with Error executing interactive process: No such file or directory (os error 2).

Pants version
2.20.0, 2.21.0

OS
MacOS

Additional info
It can easily be fixed by prepending the node tool with the node binaries path when setting the args rather than just using the tool name and relying on $PATH for it to run.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions