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
lerna does not respect $PATH variable #1758
Comments
This seems like an issue where we'd need to know what the expected behaviour of |
This isn't a lerna issue. Once the issue is resolved with execa, unless it's a major version, there's nothing for lerna to do. |
We encountered this exact problem today. The issue is that We don't expect |
How exactly does execa's |
Yes, |
Looking deeper, I do indeed see the problem in npm-run-path. There is an open PR that needs some help. This option won't change in lerna because it is necessary to make hoisted executables work, as well as maintain parity with |
This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I want to use a different git version than the one in
/usr/bin
because that one is too old forlerna publish
) to work. I have added my newer git version (which works with lerna) to $PATH, butlerna
seems to pick the one in/usr/bin
nevertheless (even if I explicitly remove/usr/bin
from $PATH). I was able to track the problem down toexeca
which seems to be the root cause of that problem and I created a ticket there (with more information how to reproduce my problem):sindresorhus/execa#153
Could you please integrate their changes as soon as they become available? That would be much appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: