Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during 'Gulp' — events.js:141 throw er; // Unhandled 'error' event #44

Open
didacus opened this issue Apr 27, 2016 · 4 comments

Comments

@didacus
Copy link

didacus commented Apr 27, 2016

Have anyone found a solution for the following error?
Thank you in advance.

[22:09:59] Using gulpfile ~/Desktop/jekyll-gulp-sass-browser-sync-master/gulpfile.js
[22:09:59] Starting 'sass'...
[22:09:59] Starting 'jekyll-build'...
[22:09:59] Starting 'watch'...
[22:09:59] Finished 'watch' after 16 ms
events.js:141
throw er; // Unhandled 'error' event
^

Error: spawn jekyll ENOENT
at exports._errnoException (util.js:870:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at nextTickCallbackWith2Args (node.js:442:9)
at process._tickCallback (node.js:356:17)
at Function.Module.runMain (module.js:443:11)
at startup (node.js:139:18)
at node.js:968:3

@DatScreamer
Copy link

I am getting this aswell. Check your versions in package.json.

@JaimeOverflow
Copy link

Avoid use gem install jekyll. Try sudo apt-get install jekyll ;)

@replaid
Copy link

replaid commented Nov 30, 2017

I ran into this in a Travis build and found that I hadn't installed Jekyll at all. sudo apt-get install jekyll got me an error since Travis uses rvm. gem install jekyll worked perfectly.

@replaid
Copy link

replaid commented Nov 30, 2017

I do suggest that a preflight step would allow a much better error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants