title: A problem with Material UI - Module not found: Can't resolve '@material-ui/icons/Add'
body: <p>I am having problem with material ui. It worked for my first two projects but suddenly now its showing this error:</p>
  <blockquote>
  <p>Module not found: Can't resolve '@material-ui/icons/Add' in
  'E:\Projects\Slack-clone\slack-clone\src'</p>
  </blockquote>
  <p>This is one of my components:</p>
  <pre><code>import React from 'react';
  import &quot;./Header.css&quot;;
  import { Avatar } from '@material-ui/core';
  import AddIcon from '@material-ui/icons/Add';
  
  function Header() {
      return (
          &lt;div className=&quot;header&quot;&gt;
              &lt;div className=&quot;header_left&quot;&gt;
                  &lt;Avatar className=&quot;header_avatar&quot; alt=&quot;soham bhosale&quot; src=&quot;&quot;/&gt;
                &lt;AddIcon /&gt;
          &lt;/div&gt;
  </code></pre>
  <p>and this is my package.json after installing material-ui:</p>
  <pre><code>{
    &quot;name&quot;: &quot;slack-clone&quot;,
    &quot;version&quot;: &quot;0.1.0&quot;,
    &quot;private&quot;: true,
    &quot;dependencies&quot;: {
      &quot;@testing-library/jest-dom&quot;: &quot;^5.11.10&quot;,
      &quot;@testing-library/react&quot;: &quot;^11.2.6&quot;,
      &quot;@testing-library/user-event&quot;: &quot;^12.8.3&quot;,
      &quot;react&quot;: &quot;^17.0.2&quot;,
      &quot;react-dom&quot;: &quot;^17.0.2&quot;,
      &quot;react-scripts&quot;: &quot;4.0.3&quot;,
      &quot;web-vitals&quot;: &quot;^1.1.1&quot;
    }
  </code></pre>