title: Every vue component returning Cannot read property 'parseComponent' of undefined
body: <p>So i've tried researching this but none of the solutions are working. I think it's specifically an issue with some of my vue dependencies, potentially <code>vue-loader</code>, but I'm not sure what specifically to do to fix it. I have tried: </p>
  
  <ul>
  <li>deleting <code>node_modules</code> and re-running <code>npm install</code> </li>
  <li><code>npm update</code></li>
  <li>i've tried removing <code>vue-loader</code> completely</li>
  <li>tried adding, removing, and updating <code>@vue/component-compiler-utils</code></li>
  <li>tried changing the version of the above to three different things</li>
  <li>tried running <code>composer install</code> and <code>composer update</code></li>
  <li>creating a new temp staging branch from master just in case it was some weird git error and building from that</li>
  </ul>
  
  <p>What am I missing here? Every vue component on my staging site returns this same error. The weirdest thing is that the staging server is a direct clone of our production server, where all of this works completely smoothly and i get zero errors.</p>
  
  <p><strong>The Errors:</strong></p>
  
  <pre><code>ERROR in ./resources/assets/js/components/component.vue
  Module build failed (from ./node_modules/vue-loader/lib/index.js):
  TypeError: Cannot read property 'parseComponent' of undefined
      at parse (/var/www/site/node_modules/@vue/component-compiler-utils/dist/parse.js:14:23)
      at Object.module.exports (/var/www/site/node_modules/vue-loader/lib/index.js:67:22)
   @ ./resources/assets/js/app.js 60:29-81
   @ multi ./resources/assets/js/app.js ./resources/assets/sass/app.scss
  </code></pre>
  
  <p>I've tried installing these warnings' dependencies as well but still get the same error above, I'm including these because it's what pops up when i run my bash script and run npm install from my staging branch:</p>
  
  <pre><code>npm WARN eslint-plugin-vue@5.2.3 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself.
  npm WARN vue-eslint-parser@5.0.0 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself.
  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/webpack-dev-server/node_modules/fsevents):
  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
  </code></pre>
  
  <p><strong>package.json dependencies</strong></p>
  
  <pre><code>"devDependencies": {
      "axios": "^0.19.0",
      "babel-preset-stage-2": "^6.24.1",
      "browser-sync": "^2.26.7",
      "browser-sync-webpack-plugin": "^2.2.2",
      "cross-env": "^5.2.0",
      "eslint": "^6.1.0",
      "eslint-config-standard": "^13.0.1",
      "eslint-loader": "^2.2.1",
      "eslint-plugin-import": "^2.18.2",
      "eslint-plugin-node": "^9.1.0",
      "eslint-plugin-promise": "^4.2.1",
      "eslint-plugin-standard": "^4.0.0",
      "eslint-plugin-vue": "^5.2.3",
      "exports-loader": "^0.6.4",
      "imports-loader": "^0.7.1",
      "jquery": "^3.3.1",
      "laravel-mix": "^4.1.2",
      "lodash": "^4.17.11",
      "resolve-url-loader": "^3.1.0",
      "sass": "^1.22.10",
      "vue": "^2.6.10"
    },
     "dependencies": {
      "@vue/component-compiler-utils": "^3.1.1",
      "ajv": "^6.10.0",
      "babel-polyfill": "^6.26.0",
      "bootstrap": "^4.3.1",
      "braces": "^2.3.1",
      "es6-promise": "^4.2.6",
      "font-awesome": "^4.7.0",
      "luxon": "^1.12.1",
      "moment": "^2.24.0",
      "popper": "^1.0.1",
      "popper.js": "^1.14.7",
      "sass-loader": "^7.1.0",
      "vue-datetime": "^1.0.0-beta.10",
      "vue-datetime-picker": "^0.2.1",
      "vue-full-calendar": "^2.7.0",
      "vue-loader": "^15.8.3",
      "vue-router": "^3.0.2",
      "vue-template-compiler": "2.6.10",
      "vue-wysiwyg": "^1.7.2",
      "vuex": "^3.1.0",
      "weekstart": "^1.0.0",
      "whatwg-fetch": "^2.0.4",
      "wkhtmltopdf": "^0.3.4"
    }
  }
  
  </code></pre>
  
  <p>I'm thinking it might have something to do with a specific version of a dependency? But nothing i've been trying from other stack overflow threads or google searches has been helping</p>
  
  <p>Let me know if there's any code missing that may help</p>