nexus
nexus copied to clipboard
[INSTALLATION ISSUE] `yarn install` throws on dependencies that use `pnpm`
Summary
It is not possible to yarn install
the repo since yarn throws when trying to install dependencies that use pnpm
Steps to Reproduce
git clone https://github.com/bcnmy/nexus.git
cd nexus
yarn install
Expected vs. Actual Behavior
Expected yarn install
to install all the dependencies. However it crashes with Assertion failed: Unsupported workflow
This issue is described here: https://github.com/yarnpkg/berry/issues/5715 and here https://github.com/yarnpkg/berry/issues/3169
There is a PR that fixes the issue, but it has not been included into Yarn release yet.
Solution
Manually install the yarn version from the PR.
yarn set version from sources --branch 3618
Check that it has installed
$ yarn -v
> 3.2.0-rc.1.git.20211028.hash-75b031f
Environment
node v20.15.0 npm 10.8.1 yarn 3.5.0
Code of Conduct
- [X] I agree to follow this project's Code of Conduct.