title: Module not found: Can't resolve '@material-ui/core/Container'
body: <p>In the browser, I get the error</p>
  
  <blockquote>
    <p>Failed to compile Module not found: Can't resolve
    '@material-ui/core/Container'</p>
  </blockquote>
  
  <p>It's looking for the component inside of my components directory instead of node_modules. I can't change directories into node_modules <code>../../</code> because node_modules is outside of <code>src</code> directory and Create React App won't let me.</p>
  
  <p>I've use yarn to remove and <code>$ yarn add @material-ui/core</code>. I've tried yarn run build which gives me the error</p>
  
  <blockquote>
    <p>Cannot find module: '@material-ui/core/Container'. Make sure this
    package is installed. You can install this package by running: yarn
    add @material-ui/core/Container.</p>
  </blockquote>
  
  <p>When I try to add it, I get the error</p>
  
  <blockquote>
    <p>error Couldn't find package "@material-ui/core/Container" on the "npm"
    registry.</p>
  </blockquote>
  
  <p>Here's the dependencies I have that are related:</p>
  
  <pre><code>"@material-ui/core": "^3.9.3",
  "@material-ui/icons": "^3.0.2",
  "react": "^16.8.6",
  "react-dom": "^16.8.6",
  </code></pre>
  
  <p>I expect to see the contents of the page not take up the full width of the screen, but instead, I receive a fail to compile error.</p>