Description
Version
2.9.3
Reproduction link
https://medium.com/codingthesmartway-com-blog/vue-js-2-quickstart-tutorial-2017-246195cfbdd2
Steps to reproduce
OS -> Mac OS
Here's what I did/reproduction steps
- Look at Vue.js/Vue articles for a couple of months
- Decide to pull the trigger on a new project in Vue, in defiance of the bloated front-end frameworks present at my company
- run "yarn global add vue-cli"
- run "yarn init webpack " with options as follows
- vue build -> standalone
- install vue-router -> yes
- use ESLint to lint your code -> yes
- pick an ESLint preset -> Airbnb
- Set up unit tests -> yes
- Pick a test runner -> karma
- Setup e2e tests with nightwatch -> no
- Should we run 'npm install' for you -> yes, use yarn
- Watch the install process for 235.39s (I'm behind a proxy)
- everything is in the green at this point
- Run "yarn run dev"
- look at failure message
- Wipe a small tear out of the corner of your eye
Error Message:
Module build failed: Error:
Vue packages version mismatch:
- vue@2.5.13
- vue-template-compiler@2.5.16
This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.
What is expected?
Vue build to be successful after having changed nothing in a fresh project.
What is actually happening?
Vue build is failing after having changed nothing in a fresh project.
I'm not trying to be a smart ass with my reproduction link. I will be hounded by our security team if I push things to github, and I don't know how else to show you what's going on. So I just linked the article that I was following.