title: update material ui from 3.9.3 to to the latest
body: <p>I tried to update material ui following the instructions on their <a href="https://material-ui.com/guides/migration-v3/" rel="nofollow noreferrer">web site</a>
  from 3.9.3 to the latest version.</p>
  <p>I ran <code>npm install @material-ui/core</code> and <code>npm install react@latest</code>
  but I am getting the following error when I deploy my app:</p>
  <pre><code>hoist-non-react-statics.cjs.js:70 Uncaught TypeError: Cannot convert undefined or null to object
      at getPrototypeOf (&lt;anonymous&gt;)
      at e (hoist-non-react-statics.cjs.js:70)
      at n (withTheme.js:47)
      at Module.1038 (AppSettings.js:95)
      at u (index.html:1)
      at Object.620 (main.5ef97776.chunk.js:1)
      at u (index.html:1)
      at r (index.html:1)
      at Array.t [as push] (index.html:1)
      at main.5ef97776.chunk.js:1
    
  </code></pre>
  <p>These are the dependencies in my app:</p>
  <pre><code>  &quot;dependencies&quot;: {
      &quot;@date-io/core&quot;: &quot;^1.3.8&quot;,
      &quot;@date-io/moment&quot;: &quot;^1.3.11&quot;,
      &quot;@material-ui/core&quot;: &quot;^4.11.4&quot;,
      &quot;@material-ui/icons&quot;: &quot;^3.0.2&quot;,
      &quot;material-design-icons&quot;: &quot;^3.0.1&quot;,
      &quot;material-ui-pickers&quot;: &quot;^2.2.4&quot;,
      &quot;moment&quot;: &quot;^2.24.0&quot;,
      &quot;react-app-polyfill&quot;: &quot;^1.0.4&quot;,
      &quot;react-dates&quot;: &quot;^16.7.1&quot;,
      &quot;react-dom&quot;: &quot;^17.0.1&quot;,
      &quot;react-router-dom&quot;: &quot;^4.3.1&quot;,
      &quot;react-scripts&quot;: &quot;^3.3.0&quot;,
      &quot;react-select&quot;: &quot;^3.0.8&quot;,
      &quot;core-js&quot;: &quot;^2.6.12&quot;,
      &quot;flux&quot;: &quot;^3.1.3&quot;,
      &quot;react&quot;: &quot;^17.0.2&quot;,
    },
  </code></pre>
  <p>Any help with this?</p>