title: Could not resolve dependency
body: <p>I have been trying to download a template to start customizing it. Upon downloading it, one is supposed to install all local dependencies using <code>npm install</code> or <code>yarn install</code>. I have done both of those and I have gotten the same error both times. Moreover I have tried using the same command with <code>--force</code> and <code>--legacy-peer-deps</code>, as advised in the error message. I found a GitHub issue discussing this precise problem and some other stack overflow threads. I have tried everything I have come across, and it is just not working. Moreover I have installed the recommended version of node, so that is not the problem either, as suggested in a different thread.</p>
  <p>The error message can be seen below.</p>
  <pre><code>While resolving: @mui/material@5.2.0
  npm ERR! Found: @emotion/react@11.4.1
  npm ERR! node_modules/@emotion/react
  npm ERR!   @emotion/react@&quot;11.4.1&quot; from the root project
  npm ERR!   peer @emotion/react@&quot;^11.0.0-rc.0&quot; from @emotion/styled@11.3.0
  npm ERR!   node_modules/@emotion/styled
  npm ERR!     @emotion/styled@&quot;11.3.0&quot; from the root project
  npm ERR!     peerOptional @emotion/styled@&quot;^11.3.0&quot; from @mui/material@5.2.0
  npm ERR!     node_modules/@mui/material
  npm ERR!       @mui/material@&quot;5.2.0&quot; from the root project
  npm ERR!       1 more (@mui/icons-material)
  npm ERR!     1 more (@mui/styled-engine)
  npm ERR!   1 more (@mui/styled-engine)
  npm ERR! 
  npm ERR! Could not resolve dependency:
  npm ERR! peerOptional @emotion/react@&quot;^11.5.0&quot; from @mui/material@5.2.0
  npm ERR! node_modules/@mui/material
  npm ERR!   @mui/material@&quot;5.2.0&quot; from the root project
  npm ERR!   peer @mui/material@&quot;^5.0.0&quot; from @mui/icons-material@5.2.0
  npm ERR!   node_modules/@mui/icons-material
  npm ERR!     @mui/icons-material@&quot;5.2.0&quot; from the root project
  npm ERR! 
  npm ERR! Conflicting peer dependency: @emotion/react@11.7.1
  npm ERR! node_modules/@emotion/react
  npm ERR!   peerOptional @emotion/react@&quot;^11.5.0&quot; from @mui/material@5.2.0
  npm ERR!   node_modules/@mui/material
  npm ERR!     @mui/material@&quot;5.2.0&quot; from the root project
  npm ERR!     peer @mui/material@&quot;^5.0.0&quot; from @mui/icons-material@5.2.0
  npm ERR!     node_modules/@mui/icons-material
  npm ERR!       @mui/icons-material@&quot;5.2.0&quot; from the root project
  npm ERR! 
  npm ERR! Fix the upstream dependency conflict, or retry
  npm ERR! this command with --force, or --legacy-peer-deps
  npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
  
  </code></pre>
  <p>The template: <a href="https://www.creative-tim.com/product/material-dashboard-react?ref=readme-mdr#" rel="nofollow noreferrer">https://www.creative-tim.com/product/material-dashboard-react?ref=readme-mdr#</a></p>
  <p>GitHub issue: <a href="https://github.com/creativetimofficial/material-dashboard-react/issues/171" rel="nofollow noreferrer">https://github.com/creativetimofficial/material-dashboard-react/issues/171</a></p>
  <p>Thanks in advance.</p>