Replies: 2 comments
-
Someone else might be able to articulate this better, but; With yarn modern, it is a common practice to commit the yarn binary into the code repo (often at Newer versions of yarn v1 also respect the So to answer your question:
Check for a If it is a repo not set up that way, or an older yarn v1 repo, then as far as I know there isn't a way to tell the exact yarn version that was used when creating the project initially. |
Beta Was this translation helpful? Give feedback.
-
As already answered NodeJS provides CorePack and only requires you to enable it More information here: #5744 (comment) |
Beta Was this translation helpful? Give feedback.
-
If I understood correctly this, suggests that say if my project was configured using yarn 1, and then I upgrade yarn to version 2, and use it in this project, it can cause issues.
Is that correct?
If yes, imagine a situation where I download a repo, and say I have some version of yarn installed, should not there be a way to tell which version of yarn was that project configured with, to avoid potential problems?
Similar question has been asked here.
Beta Was this translation helpful? Give feedback.
All reactions