Closed as not planned
Description
Self-service
- I'd be willing to implement a fix
Describe the bug
When users install our project, we used to do the yarn set version berry
, which installed the version 3 and now it tries to install the version 4. Our project is still on Node v16 (upgrade to v18 is in progress) and Yarn v4 is failing to install.
I tried all the commands from the docs and none of them can install the v3.
For example:
yarn set version https://repo.yarnpkg.com/3.6.4/packages/yarnpkg-cli/bin/yarn.js
Resolving https://repo.yarnpkg.com/3.6.4/packages/yarnpkg-cli/bin/yarn.js to a url...
error An unexpected error occurred: "Release not found: https://repo.yarnpkg.com/3.6.4/packages/yarnpkg-cli/bin/yarn.js".
Is there any other way to set the version to 3.x?
thanks
To reproduce
- Have Yarn v1 installed.
- Try to set version to v3.6.4:
yarn set version https://repo.yarnpkg.com/3.6.4/packages/yarnpkg-cli/bin/yarn.js
Environment
System:
OS: macOS 14.0
CPU: (10) arm64 Apple M1 Pro
Binaries:
Node: 16.20.0
Yarn: 1.22.19
npm: 9.8.1
npmPackages:
jest: ^29.5.0 => 29.5.0
Additional context
No response