Skip to content
New issue

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

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

Open
1 task done
filmakarov opened this issue Jul 2, 2024 · 2 comments
Open
1 task done
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation invalid This doesn't seem right

Comments

@filmakarov
Copy link
Collaborator

filmakarov commented Jul 2, 2024

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.
@filmakarov filmakarov added bug Something isn't working documentation Improvements or additions to documentation invalid This doesn't seem right labels Jul 2, 2024
@livingrockrises
Copy link
Contributor

we can make a switch from yarn to pnpm. I recently did this for gasdaddy repo. can keep this task in backlog.

@filmakarov
Copy link
Collaborator Author

Another solution (before we switch to pnpm) is using yarn 1.x.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants