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

Yarn version issue #17

Open
morkeltry opened this issue Oct 28, 2023 · 0 comments
Open

Yarn version issue #17

morkeltry opened this issue Oct 28, 2023 · 0 comments

Comments

@morkeltry
Copy link
Collaborator

morkeltry commented Oct 28, 2023

The "yarn-path" option has been set (in .../ui/.yarnrc.yml), but the specified location doesn't exist

Cannot find module '...ui/.yarn/plugins/...'
Require stack:
- .../yarn/.../yarn.js

Problem:

We are running different yarn versions but one is pinned in ui/.yarnrc.yml

Solution:

mv .yarnrc.yml .yarnrc.yml.old
yarn set version berry

Add the lines from .yarnrc.yml.old to .yarnrc.yml, except the yarnPath (keep the new line)

yarn install

Commit.

In .gitignore,
uncomment yrarn related lines:

**/.yarn/*
!.yarn/patches
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
.pnp.*
# .eslintcache
.vscode/**

Commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant