laravel-mix: Vue 2.5.6 error on compiling
- 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
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (6 by maintainers)
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@ruchern It works with Vue 2.5.3
But If I upgrade it breaks regardless off that Profile.vue any .vue file does not get compiled
here is my webpack mix its default only