mercredi 11 octobre 2017

Laravel Elixir - gulp watch automatically tries production and throws an error

I have a project that I got from my friends, and I setup the environment.

Now when I try gulp it works and compiles perfectly. However, if I try to run gulp watch it throws error:

internal/streams/legacy.js:59
      throw er; // Unhandled stream error in pipe.
      ^

Error: ENOENT: no such file or directory, stat '/home/vagrant/Code/proj/public/
build/js/all-86db1d88de.js'

As far as I understand, it is trying to force production or minifying, whereas running gulp doesn't so it works.

What am I doing wrong with the gulp watch?

Everyone else except me can use gulp watch. Our gulp versions are same - 3.9.1, but node versions are different, their one is 6.5.0, my one is 7.10.1



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire