On the base template of create-react-app v4 with typescript material-ui/core complains about the version of react.
Steps to Reproduce 🕹
Step 1: Run - npx create-react-app . --template typescript
Step 2: Run - npm i @material-ui/core
Error fron console
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"^17.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0" from @material-ui/[email protected]
npm ERR! node_modules/@material-ui/core
npm ERR! @material-ui/core@"*" from the root project
- [ x] I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
material ui core does not install
Expected Behavior 🤔
isntall material-ui core
Your Environment 🌎
Fresh linux Ubuntu installation. 20.10
| Tech |
Version |
| Material-UI |
default LTS |
| React |
17.0.1 |
| TypeScript |
true |
| Node |
15.0.1 |
On the base template of create-react-app v4 with typescript material-ui/core complains about the version of react.
Steps to Reproduce 🕹
Step 1: Run - npx create-react-app . --template typescript
Step 2: Run - npm i @material-ui/core
Error fron console
Current Behavior 😯
material ui core does not install
Expected Behavior 🤔
isntall material-ui core
Your Environment 🌎
Fresh linux Ubuntu installation. 20.10