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

Unable to Install Project Due to Yarn Version Mismatch #2

Closed
amjeed-ay opened this issue Dec 8, 2023 · 1 comment
Closed

Unable to Install Project Due to Yarn Version Mismatch #2

amjeed-ay opened this issue Dec 8, 2023 · 1 comment

Comments

@amjeed-ay
Copy link

Issue Title: Unable to Install Project Due to Yarn Version Mismatch

Description:

I cloned the repository to install the project, but encountered an error when running yarn install. It seems that the Yarn version is not supported, and I confirmed that I am running the latest version of Yarn (1.22.21), while the project requires version 3.6.1.

Error Message:

$ yarn install
error This project's package.json defines "packageManager": "yarn@3.6.1". However the current global version of Yarn is 1.22.21.

Presence of the "packageManager" field indicates that the project is meant to be used with Corepack, a tool included by default with all official Node.js distributions starting from 16.9 and 14.19.
Corepack must currently be enabled by running corepack enable in your terminal. For more information, check out https://yarnpkg.com/corepack.
@radzionc
Copy link
Owner

Hey @amjeed-ay ! You have to have yarn 3 on your machine.

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

No branches or pull requests

2 participants