Skip to content

Yarn Version Policy #2

@shetharp

Description

@shetharp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions