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

react-scripts 5 and npm 7 #98

Open
johnkmzhou opened this issue Apr 22, 2022 · 2 comments
Open

react-scripts 5 and npm 7 #98

johnkmzhou opened this issue Apr 22, 2022 · 2 comments

Comments

@johnkmzhou
Copy link

johnkmzhou commented Apr 22, 2022

In npm 7+, the latest release #73 currently doesn't work without install --force because @craco/[email protected] requires react-scripts@^4.0.0 (npm 7 has stricter requirements for peer dependencies). In essence, you will have to wait for craco to update their project to support react-scripts@5. There is an alpha release that will do that: @craco/[email protected] but it will require craco-antd to change it's dependency requirement from [email protected] to the alpha release. And obviously you will have to be comfortable with using an alpha release.

@FiNEk
Copy link

FiNEk commented Jun 9, 2022

any updates here?

@abenhamdine
Copy link

craco 7 with official react-scripts v5 support has been released
see https://github.com/dilanx/craco/releases/tag/v7.0.0

is it possible to roll out a new version which allow to install craco@7 ?

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

No branches or pull requests

3 participants