Skip to content

setup-node returns error #3607

@Xuanwo

Description

@Xuanwo
/usr/local/bin/yarn --version
1.[22](https://github.com/apache/incubator-opendal/actions/runs/6902081796/job/18780349992?pr=3600#step:5:24).21
/usr/local/bin/yarn cache dir
error This project's package.json defines "packageManager": "yarn@3.5.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.
Error: error This project's package.json defines "packageManager": "yarn@3.5.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.

https://github.com/apache/incubator-opendal/actions/runs/6902081796/job/18780349992?pr=3600

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions