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

Yarn Version Policy #2

Open
shetharp opened this issue Aug 20, 2020 · 0 comments
Open

Yarn Version Policy #2

shetharp opened this issue Aug 20, 2020 · 0 comments

Comments

@shetharp
Copy link
Owner

After setting up ESLint in the workspace root, I was getting the following error.

An unexpected error occurred: "expected workspace package to exist for \"eslint\"".

There is ongoing discussion around the cause (yarnpkg/yarn#7807), but I was able to resolve it by running

yarn policies set-version 1.18.0

TODO: Once the issue is resolved with Yarn or another workaround is found, I need to delete the .yarnrc file and .yarn folder which contains the source code copy of Yarn version 1.18.0.

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

1 participant