skrajewski / laravel-elixir-browserify

Laravel Elixir Browserify Extension
18 stars 8 forks source link

Failing on Elixir 3.0.0 #32

Open Josephwaelchli opened 9 years ago

Josephwaelchli commented 9 years ago

I'm receiving this error:

Error: Cannot find module 'laravel-elixir/ingredients/commands/Utilities

Running this gulp file

var elixir = require('laravel-elixir');
var browserify = require('laravel-elixir-browserify');

elixir(function(mix)    {
    browserify.init();

    mix.sass('app.scss');
    mix.browserify('widgets.js', {output : 'public/js', rename : 'widget.js'});
 });

I did some googling on the error message and found that a lot of elixir plugins ran into a similar error when the helpers directory was changed to the commands directory. I'm not sure if a similar change recently happened that's causing this issue or if something is set up wrong on my end.

skrajewski commented 9 years ago

Sorry, but current version of this plugin works only with elixir ^2.0

Josephwaelchli commented 9 years ago

Thanks for the reply! I can try going backwards

igorsantos07 commented 8 years ago

Uh, just as a sidenote, Elixir is already on version 4. Any plans on updating the plugin?

edisonthk commented 8 years ago

@igorsantos07 lastest Elixir version 4 are able to use browserify without installed any plugin. Take a look at official laravel document. https://laravel.com/docs/5.2/elixir#browserify

If you are going to use Elixir v2 then this plugin is needed.