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/craco@6.4.3 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/craco@7.0.0-alpha.3 but it will require craco-antd to change it's dependency requirement from craco@6.4.3 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