I created a project with vue-cli 4.1.1, and after running yarn serve, i got the following error
Error: [BABEL] C:\\dev\\vuestudy\\src\\main.js: Cannot find m
With Vue / Nuxt, you can delete package-lock.json and node_modules and do an npm install to fix this issue.
package-lock.json
node_modules
npm install