Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Cannot switch yarn version #1006

Closed
mradkov opened this issue Nov 26, 2021 · 1 comment
Closed

Cannot switch yarn version #1006

mradkov opened this issue Nov 26, 2021 · 1 comment
Labels
wontfix This will not be worked on

Comments

@mradkov
Copy link

mradkov commented Nov 26, 2021

Screenshot 2021-11-26 at 11 27 41

@noahnu
Copy link
Contributor

noahnu commented Nov 30, 2021

yvm version shows the version of yvm, not yarn. To get the yarn version, you can just run yarn --version.

Regarding yarn 3, it's working as expected. Your project is using yarn 3, likely committed to the repo. Yvm controls the yarn 1 version. Your yarn 1 binary launches yarn 3 when it detects it in the yarnrc file. It's forwarding the version flag to yarn berry.

@noahnu noahnu added the wontfix This will not be worked on label Nov 30, 2021
@noahnu noahnu closed this as completed Nov 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants