1. Vue Packages version mismatch
translation : Vue package version matching error
Examples of error :
cause of error : Usually occurs in some dependent library updates or after installing a new dependent library (you can think of NPM update as a habit), resulting in the version of Vue and Vue-template-compiler inconsistent.
Solution : Unify the versions of Vue and Vue-template-compiler
1 "vue": "2.3.4",2 "Vue-template-compiler": "2.3.4",
(note: As shown above, the version number is a sample, the specific implementation of the small partners according to their own version number corresponding)
Then execute: NPM update is available.
Additional :
If the above method does not solve the problem, it may be because of the conflict between the dependent libraries, here we also have a more violent solution.
First look at the project root directory to see if the Package-lock.json file has been generated, if so, delete it.
Then delete the entire Node_modules directory, reconfigure the Package.json (of course, remember to unify Vue and Vue-template-compiler versions)
Re-execute after configuration: NPM install;
OK, problem solved.
Still in continuous update ...
Reprint Please specify source: http://www.cnblogs.com/meng1314-shuai/p/7405346.html
Vue.js common error messages and records of their solutions