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

pnpm use env does not check if already installed or not #6587

Closed
am05mhz opened this issue May 25, 2023 · 3 comments · Fixed by #6884
Closed

pnpm use env does not check if already installed or not #6587

am05mhz opened this issue May 25, 2023 · 3 comments · Fixed by #6884
Assignees

Comments

@am05mhz
Copy link

am05mhz commented May 25, 2023

if at first we run pnpm use env --global latest
then run pnpm use env --global 16
then for some reason need to go back to latest pnpm use env --global latest
if the latest version have not changed (eg still on 20), it will fail with error:

 Fetching Node.js 20.2.0 ...
 EEXIST  EEXIST: file already exists,

at least on windows

should be just change the env, or make a separate command for install and use, so that no need to install again, just change the env

@colinmollenhour
Copy link

Yes, I am using 8.5.1 and cannot switch to another node version, even as administrator:
image

@Gascognya
Copy link

me too, but not any time

@zkochan zkochan self-assigned this Jul 31, 2023
zkochan added a commit that referenced this issue Jul 31, 2023
zkochan added a commit that referenced this issue Jul 31, 2023
@Rolanddoda
Copy link

@zkochan this is still an issue in 8.6.0

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 a pull request may close this issue.

5 participants