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

fix yarn add command #2168

Merged
merged 3 commits into from Feb 18, 2024
Merged

fix yarn add command #2168

merged 3 commits into from Feb 18, 2024

Conversation

0oM4R
Copy link
Contributor

@0oM4R 0oM4R commented Feb 14, 2024

Description

The issue is mentioned in many places and on yarnpkg/yarn#7807 This fix defines project-wide policies for the repo; this is one of the suggested solutions on the mentioned yarnpkg issue, and it works fine with me

image

note: please run yarn command before adding new package

Changes

I set the yarn version to be 1.19.0 using this command

yarn policies set-version 1.19.0

Related Issues

Checklist

  • Tests included
  • Build pass
  • Documentation
  • Code format and docstrings
  • Screenshots/Video attached (needed for UI changes)

adding packages using yarn add
fixes #1074
@0oM4R
Copy link
Contributor Author

0oM4R commented Feb 14, 2024

will push yarn.lock file after running yarn command

@0oM4R
Copy link
Contributor Author

0oM4R commented Feb 14, 2024

https://classic.yarnpkg.com/en/docs/cli/policies/
for more info please check this link

@AhmedHanafy725 AhmedHanafy725 changed the base branch from development to development_314 February 18, 2024 13:52
@amiraabouhadid amiraabouhadid merged commit b5dd446 into development_314 Feb 18, 2024
2 checks passed
@amiraabouhadid amiraabouhadid deleted the development_fixYarnAdd branch February 18, 2024 16:01
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 this pull request may close these issues.

None yet

3 participants