-
-
Notifications
You must be signed in to change notification settings - Fork 499
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
Version upgrade issue of react-script v4-> v5 and craco v6 -> v7 #475
Comments
Is that craco config the same one you used with craco 6? |
yes the shared config is of craco 6, but i have made some required changed as per craco 7. Below is the config.
|
@dilanx @asurwt: did you able to figure out the solution to above issue? After upgrade I see below error:
|
Upgrading to craco v7 includes upgrading webpack from v4 to v5, and these issues (at least the one that @rahulagarwal11 sent) involve configuration that was valid in the older version but is no longer valid in the newer one. Follow the webpack migration instructions to ensure that your config is valid for webpack 5. |
@dilanx Thank you for your output, I looked into the shared link, still see the same issue, here is my
|
@rahulagarwal11 the issue might lie within the |
In existing project we were trying to upgrade react-scripts from
V4.0.3 => V5.0.1
. After upgrade, Craco also need upgradation, so we have upgraded Craco V6.1.2 => V7.0.0. It creating issue with webpack-modernizr-loader. webpack-dev-server also not working. Below i have mentioned errors which i am facing.CRACO config
package.json
Additional information
(anything else that could be useful for us to help you solve your problem)
The text was updated successfully, but these errors were encountered: