Giter Club home page Giter Club logo

Comments (4)

Brawlzapper avatar Brawlzapper commented on May 29, 2024

#Yup Dude, Not able to run this on ElCapitan I am getting this error

Naman# gulp
[22:23:49] Using gulpfile ~/Desktop/ProjectIO/gulpfile.js
[22:23:49] Starting 'sass'...
[22:23:49] Starting 'jekyll-build'...
[22:23:49] Starting 'watch'...
[22:23:49] Finished 'watch' after 73 ms
events.js:85
throw er; // Unhandled 'error' event
^
Error: spawn jekyll ENOENT
at exports._errnoException (util.js:746:11)
at Process.ChildProcess._handle.onexit (child_process.js:1053:32)
at child_process.js:1144:20
at process._tickCallback (node.js:355:11)
at Function.Module.runMain (module.js:503:11)
at startup (node.js:129:16)
at node.js:814:3

##when I try to change in My gulpfile.js

return cp.spawn('jekyll', ['build'], {stdio: 'inherit'})

to

return cp.exec('jekyll', ['build'], {stdio: 'inherit'})

This the error stops. Might work for you. Just replace spawn with exec.

##But now I am getting this new error -

Naman# gulp
[22:26:41] Using gulpfile ~/Desktop/ProjectIO/gulpfile.js
[22:26:41] Starting 'sass'...
[22:26:41] Starting 'jekyll-build'...
[22:26:41] Starting 'watch'...
[22:26:42] Finished 'watch' after 108 ms
[22:26:42] 'jekyll-build' errored after 134 ms
[22:26:42] Error: 127
at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10)
at Gulp. (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15)
at Gulp.emit (events.js:107:17)
at Gulp.Orchestrator._emitTaskDone (/Users/Nam/Desktop/ProjectIO/node_modules/gulp/node_modules/orchestrator/index.js:264:8)
at /Users/Nam/Desktop/ProjectIO/node_modules/gulp/node_modules/orchestrator/index.js:275:23
at finish (/Users/Nam/Desktop/ProjectIO/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8)
at ChildProcess.cb (/Users/Nam/Desktop/ProjectIO/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3)
at ChildProcess.emit (events.js:129:20)
at maybeClose (child_process.js:1015:16)
at Socket. (child_process.js:1183:11)
[22:26:42] Finished 'sass' after 447 ms
[22:26:42] Starting 'sass'...
[22:26:42] Finished 'sass' after 149 ms

from jekyll-gulp-sass-browser-sync.

tiivonen avatar tiivonen commented on May 29, 2024

I had the same issue with jekyll after upgrading to El Capitan. I re-installed rvm (sudo issues from earlier installs), latest ruby and upgraded to latest jekyll. Now everything works.

from jekyll-gulp-sass-browser-sync.

WhatsNewSaes avatar WhatsNewSaes commented on May 29, 2024

What i had to do was install homebrew, and then install ruby and jekyll through homebrew. Apparently 10.11 really cracks down on where you can install ruby programs in your system -- even when using sudo. Homebrew puts it in a "safe" place that el capitan likes

from jekyll-gulp-sass-browser-sync.

karltaylor avatar karltaylor commented on May 29, 2024

I changed the package.json devDependencies to load gulp-sass": "^2.1.0" rather than "gulp-sass": "^0.7.3" and it worked fine after that

from jekyll-gulp-sass-browser-sync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.