title: npm error cannot find module '@vue/cli-plugin-babel/preset'
body: <p>I am currently going through a video tutorial on how Vue works and am just learning the basics of components and setting it all up. Yesterday everything was going just fine, I could run</p>
  <pre><code>npm run serve
  </code></pre>
  <p>and it would start up no issues. I loaded up the project today to continue on with the tutorial and when I went to run serve again I ran into an issue</p>
  <pre><code>Module build failed (from ./node_modules/babel-loader/lib/index.js):
  Error: Cannot find module '@vue/cli-plugin-babel/preset'
  </code></pre>
  <p>followed by the stack. I tried to run</p>
  <pre><code>npm install @vue/cli-plugin-babel/preset --save-dev
  </code></pre>
  <p>but that gives me the error</p>
  <pre><code>ENOENT: no such file or directory, open 'B:\Users\...\vue-practice-traversy\@vue\cli-plugin-babel\preset\package.json'
  </code></pre>
  <p>I can't seem to figure out what is happening exactly. I installed the vue cli again and ran npm install but still get the same errors. I don't even know exactly what code I can show you because I'm not sure where the error is happening or what is causing it to break. The only thing I did between yesterday and right before I tried running it was add json server as the tutorial was doing that as well. I started up VSCode, started up json server, and then tried to start up the vue project. Let me know what I can show to help or what I am missing as to why it won't start up for me anymore. Thank you in advance for the help!</p>
  <p>Edit: removed node modules and package-lock.json and did npm install again. This fixed the issue commented below about vue being a missing dependency. Now am getting compile error of</p>
  <pre><code>Syntax error: TypeError: cannot read property 'parseComponent' of undefined
  </code></pre>
  <p>Still having issues figuring that out right now, have tried removing node modules and package-lock.json again but still same error.</p>