If your using a vm and ssh into your directory and run npm install that should be the way you also run gulp. If you just cd into your app directory and run npm install that is where you run gulp.
Thanks for the tip zoransa. I did install npm in the wrong directory. I did it in the root of my vm, not the root of my app in the vm. Once I did that, gulp worked.
Hi,
I have the same issue. I am still not able to use Gulp.
In laravel 5.4 i do not see any gulp file. only a webpack.mix.js file is available in the root dir.
can you help me. thanks
@joel_birch As you mentioned, on newer versions gulp is not needed anymore.
I tryed to npm run watch (and run dev) but I'm getting this error, I must be missing something, I followed the latest doc in 5.4 for Laravel Mix (former Elixir --> Careful for those looking at elixir documentation still ;( ). The error message:
As you can see, I'm using vagrant homestead on a Windows 10 host. I allowed symlink by running homestead as administrator and (just in case) created node_modules folder as a symlink to /home/vagrant/node_modules/