Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please Update vue-template-compiler to the latest version #1002

Closed
bunnypro opened this issue Jul 15, 2017 · 5 comments
Closed

Please Update vue-template-compiler to the latest version #1002

bunnypro opened this issue Jul 15, 2017 · 5 comments

Comments

@bunnypro
Copy link

  • Laravel Mix Version:1.2.2
  • Node Version: 6.11.1
  • Yarn Version: 0.27.5
  • OS: Ubuntu 16.04

Description:

as the title says, i have an issue when using vue version 2.4.1 its requires vue-template-compiler@2.4.1

@ankurk91
Copy link
Contributor

@bunnypro
For the time being you can install your own on top of Laravel mix

npm install vue-template-compiler@2.4.1 --save-dev
# YARN
yarn add vue-template-compiler@2.4.1

Now webpack will use your version instead of installed by laravel mix. You may want to update vue loader as well.

@JeffreyWay
Copy link
Collaborator

If it ever gets out of sync, either manually install vue-template-compiler like @ankurk91 suggested, or nuke your node_modules directory and reinstall.

@ctf0
Copy link

ctf0 commented Sep 17, 2017

a simpler solution

yarn remove laravel-mix
# then 
yarn add laravel-mix

or in one line

yarn remove laravel-mix;yarn add laravel-mix

@ldiebold
Copy link

@ctf0 your solution worked for me.

Deleting node_modules and reinstalling did not.

@tinyfly
Copy link

tinyfly commented Aug 17, 2018

If you delete your node_modes to update you may have to delete your lock file too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants