Laravel-mix: Please Update vue-template-compiler to the latest version

Created on 15 Jul 2017  路  5Comments  路  Source: JeffreyWay/laravel-mix

  • 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 [email protected]

Most helpful comment

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

npm install [email protected] --save-dev
# YARN
yarn add [email protected]

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

All 5 comments

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

npm install [email protected] --save-dev
# YARN
yarn add [email protected]

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

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

a simpler solution

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

or in one line

yarn remove laravel-mix;yarn add laravel-mix

@ctf0 your solution worked for me.

Deleting node_modules and reinstalling did not.

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rderimay picture rderimay  路  3Comments

rlewkowicz picture rlewkowicz  路  3Comments

pixieaka picture pixieaka  路  3Comments

hasnatbabur picture hasnatbabur  路  3Comments

Cheddam picture Cheddam  路  3Comments