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

fix(yarn): when running vendored yarn, prefix command with path to node #3255

Merged
merged 1 commit into from
Jan 17, 2022

Conversation

alexeagle
Copy link
Collaborator

@alexeagle alexeagle commented Jan 15, 2022

Otherwise we fall through to the system node on the PATH which may not be set, or may be skewed

rebased on #3250

@gregmagolan
Copy link
Collaborator

I think we also need to put the node on the PATH before calling yarn since yarn scripts & programs called by yarn scripts can invoke "node"

@alexeagle
Copy link
Collaborator Author

That seems like an existing bug actually. Nothing in our yarn repository adds such a thing to our yarn wrapper scripts, and when we invoke yarn install we don't do it there either.

@alexeagle alexeagle force-pushed the yarn_under_node branch 2 times, most recently from 2f78745 to 61dea3f Compare January 16, 2022 21:13
… node

Otherwise we fall through to the system node on the PATH which may not be set, or may be skewed
Copy link
Collaborator

@gregmagolan gregmagolan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants