title: Cannot find module '@material-ui/core'
body: <p>I had a problem with importing "@material-ui/core" to my react/typescript/webpack app. Always when I ran </p>
  
  <p><code>webpack --config webpack.config.js</code></p>
  
  <p>it failed with error </p>
  
  <p><code>Cannot find module '@material-ui/core'</code></p>
  
  <p>The same error was also underlined in the Visual Studio Code.</p>
  
  <p>My index.tsx looked like this </p>
  
  <pre><code>import React from "react";
  import ReactDOM from 'react-dom';
  import { Button } from "@material-ui/core";
  
  function App() {
      return &lt;Button&gt;Hi dudes&lt;/Button&gt;
  }
  ReactDOM.render(&lt;App /&gt;, document.getElementById("root"));
  </code></pre>