Skip to content

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

@filmakarov

Description

@filmakarov

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: yarnpkg/berry#5715 and here yarnpkg/berry#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

  • I agree to follow this project's Code of Conduct.

Metadata

Metadata

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentationinvalidThis doesn't seem right

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions