Comments (4)
#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.
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.
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.
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)
- Would this project add min css/js automation? HOT 2
- Command failed: git rev-list --pretty=raw --max-count=1 HOT 1
- events.js:160 throw er; // Unhandled 'error' event HOT 5
- Purpose of duplicate css dest? HOT 1
- Bourbon import is failing
- CSS/SASS doesn't automatically get applied after running gulp. HOT 2
- Issue - Gulp file not found
- Injecting dependencies with bower
- Try to add folder with htmls which I want to use with AJAX to the browsersync baseDir
- jekyll-build error HOT 3
- How to send only main.css file to the _site folder and send *.js files to one bundle.js into _site folder ?
- 'gulp error' HOT 3
- Task 'pug' is not in your gulpfile HOT 2
- Browser sync doesn't work on pages that aren't my index .html HOT 1
- License not immediately clear
- adding es2015
- How to disable the browser sync
- Gulp does not compile after direct editing on includes
- Update Gulpfile.js 3 to 4 HOT 4
- [Resolved] Gulp update and npm install issue on windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jekyll-gulp-sass-browser-sync.