Skip to content

build:indexer:docker error #30

@traumschule

Description

@traumschule

The script npm run build:indexer:docker fails:

17.57 npm error error This project's package.json defines "packageManager": "yarn@npm@8.19.2". However the current global version of Yarn is 1.22.22.
17.57 npm error 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.
17.57 npm error Corepack must currently be enabled by running corepack enable in your terminal. For more information, check out https://yarnpkg.com/corepack.

Additionally output of yarn seems to conflict with the above,

This project is configured to use npm because argo-bridge/package.json has a "packageManager" field

Same after corepack enable as root.

$ node --version
v20.18.3
$ npm --version
9.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions