-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Freeze yarn to 1.21.1 #5786
Freeze yarn to 1.21.1 #5786
Conversation
@rhymes I tried this too but when I executed the file to get the version like .yarn/releases/yarn-1.21.1.js --version I got told I'm on yarn |
@abenettt I think this change is to make sure What happens if you exit the terminal, go into the directory again and type |
@rhymes I'm having the same result then. |
@abenettt mmm how did you install Yarn 2 then? |
@rhymes Aaaaah I ran yarn policies set-version berry in my home directory and apparently as the repo lies within a child directory it takes precedence. Now that I removed it, it works again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder how long until yarn 2 is compatible with most projects
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚢
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚢
What type of PR is this? (check all applicable)
Description
As mentioned in Introducing Yarn 2 ! on DEV by its maintainer and by @abenettt in #5740 Yarn 2 is out, and we don't support it, thus running the risk of breaking something in the future when Yarn 2 will be the default install.
As mentioned in the article:
I did just that, we can revisit which yarn version and how to upgrade to 2 in the future, in the meantime we should enforce this
Related Tickets & Documents