nexus icon indicating copy to clipboard operation
nexus copied to clipboard

[INSTALLATION ISSUE] `yarn install` throws on dependencies that use `pnpm`

Open filmakarov opened this issue 8 months ago • 0 comments

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.

filmakarov avatar Jul 02 '24 14:07 filmakarov