Open EssDevUi opened 2 years ago
ugh. ditto. any workarounds?
Here is a workaround, add this to your package.json just below the dependencies
section:
"overrides": { "react": "^18.2.0", "react-dom": "^18.2.0", "@mui/material": "^5.10.11" }
Adjust for your actual versions of course :)
Here is a workaround, add this to your package.json just below the
dependencies
section:"overrides": { "react": "^18.2.0", "react-dom": "^18.2.0", "@mui/material": "^5.10.11" } Adjust for your actual versions of course :)
This worked great!
Hi @sp00ls thanks for the info
One small note the npm version for this to work should be greater then 8.3
Here is a workaround, add this to your package.json just below the
dependencies
section:"overrides": { "react": "^18.2.0", "react-dom": "^18.2.0", "@mui/material": "^5.10.11" } Adjust for your actual versions of course :)
Perfect solution, thanks!
Could not resolve dependency: npm ERR! peer react@"^16.8.0 || ^17.0.2" I'm getting this error while installing mui 4.2.2 with latest version of react js "react": "^18.2.0", please update your peer dependency