-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Create react app with yarn 2 results in compile time error #10718
Comments
Had a same issue, it works if you add |
Hi @kamthamc thanks for the reply. Yes, I am aware of this workaround. However, I would still consider this an open issue since the user should not need to need to add an extra dependency in order to make this work. Create react app should build a startable app regardless of the package manager we use. |
I'm having the same issue with Yarn v.2.4.1 I created the app using the global install of Yarn 1.22.10, then I changed to Yarn 2.4.1 and the same error appeared :( |
I'm using Yarn 3.1.0 and adding these lines to packageExtensions:
react-scripts@*:
peerDependencies:
eslint-config-react-app: "*" and |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
F |
I'm still facing the same issue |
Same issue with Yarn 3.2.0.
|
Any update on this? |
Update from my end: because of the lack of response by Facebook and the maintainers of React and create-react-app, on this issue and a few others, we decided to cancel React from our projects, cancel Yarn from our projects, and migrate to SvelteKit and PNPM. So far Svelte and PNPM have performed very well for us. Of course YMMV, use the right tools for your own needs, etc. |
Describe the bug
Running create react app with yarn 2 as the package manager results in an app that cannot be started. The specific error that occurs is:
'Failed to load config "react-app" to extend from.'
The current yarn version being used is 2.4.1.
The text was updated successfully, but these errors were encountered: