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

Legacy version of Yarn #22

Closed
Seeila opened this issue Oct 1, 2024 · 0 comments · Fixed by #24
Closed

Legacy version of Yarn #22

Seeila opened this issue Oct 1, 2024 · 0 comments · Fixed by #24

Comments

@Seeila
Copy link

Seeila commented Oct 1, 2024

Expected Behavior

Expected to use one of the latest Yarn LTS version

Actual Behavior

We are using the legacy yarn 1.22 forced in the package.json. It should be removed or changed to the latest yarn lts version.
It takes forever to install the project and there are security problems with the legacy version.

Steps to Reproduce the Problem

  1. see this line in package.json: "packageManager": "[email protected]+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"

Solution:

  1. change this line in package.json: "packageManager": "[email protected]+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610" with "packageManager": "[email protected]",
  2. remove the node_modules
  3. execute yarn cache clean
  4. Create a .yarnrc.yml and add in it : nodeLinker: node-modules
  5. do a yarn install
@KarmineSH KarmineSH linked a pull request Oct 2, 2024 that will close this issue
@KarmineSH KarmineSH mentioned this issue Oct 2, 2024
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.

1 participant