question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 6 years ago
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

12reactions
ellisiocommented, Nov 22, 2017

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 rerun yarn install. Error was resolved after that. Looks like a conflict was introduced into the yarn.lock.

12reactions
ruchernchongcommented, Nov 20, 2017

Manually install vue-template-compiler should fix your problem.

e.g. npm install -D vue-template-compiler@latest

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found