Use yarn berry without packageManager
field, the yarn.lock
will be detected, and use the legacy yarn command, and throws
× Error: Command failed with exit code 1: yarn config get registry
Usage Error: Couldn't find a configuration settings named "registry"
Use correct yarn berry config.
np - 10.0.6
Node.js - 22.4.0
npm - 4.2.2
Git - git version 2.42.0.windows.2
OS - Windows 10
Possible solution is switch to check .yarnrc.yml
instead or check yarn.lock
but run yarn --version
then check version number.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too