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

feat(env use): sync global pkg node exec path #7886

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BBboy01
Copy link

@BBboy01 BBboy01 commented Apr 10, 2024

I have a lot of node version install by pnpm env use -g xxx, and a lot of global package install by pnpm add -g xxx with various of node version.

after i executed pnpm env rm -g xxx, some global package can't find node, that's weird to me because i did have node on my machine managed by pnpm env.

then i found the node version of global package is fixed, what i expected is use the current node according to $PATH

so i added a feature, pnpm will sync every node version of global package after executed pnpm env use -g xxx

@BBboy01 BBboy01 requested a review from zkochan as a code owner April 10, 2024 09:08
Copy link

welcome bot commented Apr 10, 2024

💖 Thanks for opening this pull request! 💖
Please be patient and we will get back to you as soon as we can.

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.

None yet

1 participant