Vue-select: Getting error when compiling with Elixir/Browserify

Created on 13 Jun 2016  路  6Comments  路  Source: sagalbot/vue-select

Hi there

When I run gulp I got this:
[22:27:27] gulp-notify: [Laravel Elixir] Browserify Failed!: Couldn't find preset "stage-2" relative to directory "/var/www/crm/node_modules/vue-select" while parsing file: /var/www/crm/node_modules/vue-select/src/mixins/pointerScroll.js

Any ideas what it might be?

Thanks in advance

Most helpful comment

Same as #52 & #51. You need to install the babel preset for stage-2. Since I've had a number of these issues pop up now, I'll likely remove this in a future release. Run this:

npm install --save-dev babel-preset-stage-2

All 6 comments

Same as #52 & #51. You need to install the babel preset for stage-2. Since I've had a number of these issues pop up now, I'll likely remove this in a future release. Run this:

npm install --save-dev babel-preset-stage-2

Thanks :)

Yup, it works well. Thanks

Thanks worked for me too

thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davidalvarezr picture davidalvarezr  路  3Comments

PrimozRome picture PrimozRome  路  4Comments

FrozenIce0617 picture FrozenIce0617  路  3Comments

twz915 picture twz915  路  3Comments

rudykaze picture rudykaze  路  3Comments