We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use yarn berry without packageManager field, the yarn.lock will be detected, and use the legacy yarn command, and throws
packageManager
yarn.lock
× 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.
.yarnrc.yml
yarn --version
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Use yarn berry without
packageManager
field, theyarn.lock
will be detected, and use the legacy yarn command, and throwsSteps to reproduce
Expected behavior
Use correct yarn berry config.
Environment
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 checkyarn.lock
but runyarn --version
then check version number.The text was updated successfully, but these errors were encountered: