@gustavobissolli For me, the problem was folders permission on Linux.
Apr 8, 2016
3
Level 4
Gulp Error: spawn EACCES
Hi guys,
I successfuly installed homestead on my machine recently and since then, everytime I try to run the gulp watch command, I run into this problem.
Local: http://localhost:3000
External: http://10.0.2.15:3000
----------------------------------
UI: http://localhost:3001
UI External: http://10.0.2.15:3001
----------------------------------
internal/child_process.js:298
throw errnoException(err, 'spawn');
^
Error: spawn EACCES
at exports._errnoException (util.js:837:11)
at ChildProcess.spawn (internal/child_process.js:298:11)
at Object.exports.spawn (child_process.js:339:9)
at module.exports (/home/vagrant/skimhub/node_modules/laravel-elixir/node_modules/browser-sync/node_modules/opn/index.js:79:24)
at Object.utils.open (/home/vagrant/skimhub/node_modules/laravel-elixir/node_modules/browser-sync/lib/utils.js:173:23)
at Object.utils.openBrowser (/home/vagrant/skimhub/node_modules/laravel-elixir/node_modules/browser-sync/lib/utils.js:163:23)
at EventEmitter.events.service:running (/home/vagrant/skimhub/node_modules/laravel-elixir/node_modules/browser-sync/lib/internal-events.js:45:23)
at emitOne (events.js:82:20)
at EventEmitter.emit (events.js:169:7)
at /home/vagrant/skimhub/node_modules/laravel-elixir/node_modules/browser-sync/lib/browser-sync.js:260:19
From my search around the web I found this answer, http://stackoverflow.com/questions/31005867/gulp-error-spawn-eacces but so far I don't seem to have any luck with it because I can't find where laravel keeps the server.js file for gulp.
Also here's an example of my gulpfile
elixir(function (mix) {
mix.sass('app.scss', './public/css/style.css')
.browserify([
'homepage.js',
'feed.js',
'search.js'
], './public/js/script.js')
.version(['css/style.css', 'js/script.js'])
.browserSync({proxy: 'localhost:8000'});
});
Any help would be very appreciated.
Please or to participate in this conversation.