To Solve npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.8.0 || ^17.0.0" from @material-ui/core@4.12.3 Error As Error Suggested You need to run the installation command with --legacy-peer-deps and Your error will be solved. First of all run this command: npm install @mui/material @emotion/react @emotion/styled --legacy-peer-deps Then run this command: npm install @mui/icons-material --legacy-peer-deps Now, you'll be able to use MUI in your react app and your error is resolved. Thank you.