-
-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Error migrating to Yarn 2 #10002
Comments
I'm getting the same behavior. I've also tried |
It looks like this PR fixes it. yarnpkg/berry#2078 |
This issue specifically is unrelated to CRA |
Does work with: |
@dkolba , yes, this is a working workaround. |
Any plans for the upstream fix to land in CRA or is that not needed? |
This issue ( |
`yarn set version from sources` `yarn add react-refresh eslint-config-react-app` facebook/create-react-app#10002 (comment)
`yarn set version from sources` `yarn add react-refresh eslint-config-react-app` facebook/create-react-app#10002 (comment)
Describe the bug
yarn install
fails when trying to migrate a clean just-created CRA app to the version 2 (Berry)Which terms did you search for in User Guide?
These are marked as closed but guys keep reporting the same issue:
Environment
Steps to reproduce
Expected behavior
Yarn migrates to the version berry, node_modules go to
.yarn/cache
.Actual behavior
The last command (
yarn install
) fails with the following output:Possible workaround
I tried to create a berry structure from the beginning:
The text was updated successfully, but these errors were encountered: