Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DanConway opened this issue Jul 25, 2024 · 0 comments · May be fixed by #21550
Open

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

DanConway opened this issue Jul 25, 2024 · 0 comments · May be fixed by #21550
Labels
backend: JavaScript JavaScript backend-related issues bug

Comments

@DanConway
Copy link

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.

@DanConway DanConway added the bug label Jul 25, 2024
@huonw huonw added the backend: JavaScript JavaScript backend-related issues label Jul 26, 2024
@SvenW SvenW linked a pull request Oct 18, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend: JavaScript JavaScript backend-related issues bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants