Open johnkmzhou opened 2 years ago
any updates here?
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 ?
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.