-
Notifications
You must be signed in to change notification settings - Fork 2
Description
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