vue webpack template missing parser vue webpack template missing parser vue.js vue.js

vue webpack template missing parser


Prettier has caused this regression in their 1.13.0 update which occurred today. Downgrade to the previous version to fix this error:

npm install --save-dev prettier@1.12.0

npm run dev

That should do the trick.


it is fixed in vue-loader@13.7.2 and vue-loader@14.2.3. So just upgrade.


If you're using Yarn add this to your package.json to force @vue/component-compiler-utils to use the right version:

"resolutions": {  "@vue/component-compiler-utils/prettier": "1.12.1"}

Then do a fresh install.

reference