title: Node Sass Error: Cannot find module 'mkdirp'
body: <p>I have the following package.json</p>
  <pre><code>&quot;devDependencies&quot;: {
      &quot;bootstrap-sass&quot;: &quot;*&quot;,
      &quot;buble&quot;: &quot;^0.12.5&quot;,
      &quot;css-loader&quot;: &quot;^0.25.0&quot;,
      &quot;gulp&quot;: &quot;*&quot;,
      &quot;jquery&quot;: &quot;^3.1.0&quot;,
      &quot;json-loader&quot;: &quot;^0.5.4&quot;,
      &quot;laravel-elixir&quot;: &quot;^6.0.0-14&quot;,
      &quot;laravel-elixir-browsersync-official&quot;: &quot;^1.0.0&quot;,
      &quot;laravel-elixir-vue-2&quot;: &quot;^0.2.0&quot;,
      &quot;laravel-elixir-webpack-official&quot;: &quot;^1.0.2&quot;,
      &quot;lodash&quot;: &quot;^4.16.2&quot;,
      &quot;sass&quot;: &quot;*&quot;,
      &quot;sass-loader&quot;: &quot;*&quot;,
      &quot;vue&quot;: &quot;^2.1.10&quot;,
      &quot;vue-loader&quot;: &quot;^9.7.0&quot;,
      &quot;vue-resource&quot;: &quot;^1.0.3&quot;,
      &quot;vue-router&quot;: &quot;^2.0.0&quot;,
      &quot;vue-stash&quot;: &quot;^2.0.1-beta&quot;,
      &quot;vue-template-compiler&quot;: &quot;^2.1.10&quot;
    },
    &quot;dependencies&quot;: {
      &quot;bootstrap-datepicker&quot;: &quot;^1.6.4&quot;,
      &quot;jquery-simple-upload&quot;: &quot;^1.0.0&quot;,
      &quot;json-loader&quot;: &quot;^0.5.4&quot;,
      &quot;moment&quot;: &quot;*&quot;,
      &quot;natives&quot;: &quot;^1.1.6&quot;,
      &quot;vuejs-datepicker&quot;: &quot;^0.9.24&quot;
    }
  </code></pre>
  <p>On using Yarn to install the modules I am met with</p>
  <blockquote>
  <p>warning &quot;laravel-elixir-vue-2 &gt; sass-loader@4.1.1&quot; has unmet peer
  dependency &quot;webpack@^2 || ^2.2.0-rc.0 || ^2.1.0-beta || ^1.12.6&quot;.
  [4/4] Building fresh packages... error
  /home/vagrant/Code/xxx/node_modules/node-sass:
  Command failed. Exit code: 1 Command: node scripts/install.js
  Arguments: Directory:
  /home/vagrant/Code/xxx/node_modules/node-sass
  Output: internal/modules/cjs/loader.js:818   throw err;   ^</p>
  <p>Error: Cannot find module 'mkdirp' Require stack:</p>
  <ul>
  <li>/home/vagrant/modules/xxx/node-sass/scripts/install.js
  at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
  at Function.Module._load (internal/modules/cjs/loader.js:667:27)
  at Module.require (internal/modules/cjs/loader.js:887:19)
  at require (internal/modules/cjs/helpers.js:74:18)
  at Object. (/home/vagrant/modules/xxx/node-sass/scripts/install.js:7:11)
  at Module._compile (internal/modules/cjs/loader.js:999:30)
  at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
  at Module.load (internal/modules/cjs/loader.js:863:32)
  at Function.Module._load (internal/modules/cjs/loader.js:708:14)
  at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) {   code: 'MODULE_NOT_FOUND',<br />
  requireStack: [
  '/home/vagrant/modules/xxx/node-sass/scripts/install.js' ]</li>
  </ul>
  </blockquote>
  <p>I'm not sure why/ who is installing node-sass but it brings me to this point regardless if I <code>yarn clean cache</code> <code>rm -rf package.lock.json</code> or <code>rm -rf node_modules</code></p>
  <p>I'm using</p>
  <p><strong>yarn 1.22.10
  node 12.20.0
  npm 6.14.9</strong></p>
  <p>on <strong>Linux homestead 4.15.0-124-generic #127-Ubuntu</strong></p>