Vue 2.5.6 error on compiling
See original GitHub issue- Laravel Mix Version: #.#.# laravel-mix@1.6.1
- Node Version (
node -v): v6.11.3 - NPM Version (
npm -v): 5.5.1 - OS: MacOs 10.12.6 (Sierra)
Description:
I have up and running project in Vue 2.5.3 with laravel mix but now I am trying to upgrade it to latest i.e. 2.5.6 it gives error on compiling. I tried nuke node_modules and re-install again same error it says Vue packages version mismatch:
- vue@2.5.5
- vue-template-compiler@2.5.3
Steps To Reproduce:
Install latest Vue Js with laravel mix 1.6.1 and compile you vue files it will throw error
Issue Analytics
- State:
- Created 6 years ago
- Comments:16 (6 by maintainers)
Top Results From Across the Web
Vue 2.5.6 error on compiling #1330 - laravel-mix ... - GitHub
This was an issue for me using vue@2.5.8 , with yarn . My resolution was to remove the yarn.lock and node_modules , then...
Read more >How do I fix a "Vue packages version mismatch" error on ...
Module build failed: Error: Vue packages version mismatch: - vue@2.0.8 - vue-template-compiler@2.2.6 This may cause things to work incorrectly. Make sure to use ......
Read more >Installation - Vue.js
This is a smaller build optimized for speed instead of development experience. NPM. NPM is the recommended installation method when building large scale ......
Read more >vue-template-compiler - npm
This package can be used to pre-compile Vue 2.0 templates into render functions to avoid runtime-compilation overhead and CSP restrictions.
Read more >Get started with Vuetify
Vuetify is a Material Design component framework for Vue.js. It aims to provide all the tools necessary to create beautiful content rich ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This was an issue for me using
vue@2.5.8, withyarn. My resolution was to remove theyarn.lockandnode_modules, then rerunyarn install. Error was resolved after that. Looks like a conflict was introduced into theyarn.lock.Manually install
vue-template-compilershould fix your problem.e.g.
npm install -D vue-template-compiler@latest