Comments (10)
doesn't work stop trying . i wasted 2 days on this. the project isn't maintained for windows
from jekyll-gulp-sass-browser-sync.
My new build a starter project with Jekyll and other tools (Win, Mac, Lin): https://github.com/agragregra/jekyll-gulp-autoprefixer-sass-bourbon-jade-browser-sync
from jekyll-gulp-sass-browser-sync.
Hello, big n00b here. I am trying to get this to work on windows 7 x64. I have followed all the instructions I can see relating to this topic and am still getting a funky error when I try to gulp...
"(node:4188) fs: re-evaluating native module sources is not supported. If you are
using the graceful-fs module, please update it to a more recent version.
[20:55:08] Using gulpfile ~\Desktop\jekyll-gulp-sass-browser-sync-master\gulpfil
e.js
[20:55:08] Starting 'sass'...
[20:55:08] Starting 'jekyll-build'...
[20:55:08] 'jekyll-build' errored after 3.02 ms
[20:55:08] TypeError: Bad argument
at TypeError (native)
at ChildProcess.spawn (internal/child_process.js:278:26)
at Object.exports.spawn (child_process.js:380:9)
at Gulp. (C:\Users\User\Desktop\jekyll-gulp-sass-browser-sync-mas
ter\gulpfile.js:15:15)
at module.exports (C:\Users\User\Desktop\jekyll-gulp-sass-browser-sync-maste
r\node_modules\orchestrator\lib\runTask.js:34:7)
at Gulp.Orchestrator._runTask (C:\Users\User\Desktop\jekyll-gulp-sass-browse
r-sync-master\node_modules\orchestrator\index.js:273:3)
at Gulp.Orchestrator._runStep (C:\Users\User\Desktop\jekyll-gulp-sass-browse
r-sync-master\node_modules\orchestrator\index.js:214:10)
at Gulp.Orchestrator.start (C:\Users\User\Desktop\jekyll-gulp-sass-browser-s
ync-master\node_modules\orchestrator\index.js:134:8)
at C:\Users\User\AppData\Roaming\npm\node_modules\gulp\bin\gulp.js:129:20
at _combinedTickCallback (internal/process/next_tick.js:67:7)
[20:55:09] Finished 'sass' after 289 ms
"
Please help! Sorry if this is a big post, I am not 100% what is ok to not include.
Thanks you!
from jekyll-gulp-sass-browser-sync.
Hi, there is a problem with couple of things on windows (I'm currently using 8.1 64).
First you need to install all dependencies manually. You can find list of them in file called "package.json".
There are:
- gulp
- gulp-sass
- gulp-autoprefixer
- browser-sync - this is main issue.
To install browser-sync you should follow these instructions:
http://www.browsersync.io/docs/#windows-users
You also need python v.2xxx and node-gyp.
Then you need to change a line of code in gulpfile.js:
16 return cp.spawn('jekyll', ['build'], {stdio: 'inherit'}).on('close', done);
To:
16 return cp.spawn(jekyll.bat, ['build'], {stdio: 'inherit'}).on('close', done);
I had similar problems and finally I got all working.
from jekyll-gulp-sass-browser-sync.
I did all that you mentioned but I'm STILL getting an error
The exact bug report is as follow:
C:\Users\user\Desktop\jekyll-gulp-sass-browser-sync>gulp
[12:24:27] Using gulpfile ~\Desktop\jekyll-gulp-sass-browser-sync\gulpfile.js
[12:24:27] Starting 'sass'...
[12:24:27] Starting 'jekyll-build'...
[12:24:27] Starting 'watch'...
[12:24:27] Finished 'watch' after 17 ms
events.js:141
throw er; // Unhandled 'error' event
^
Error: spawn jekyll ENOENT
at exports._errnoException (util.js:856:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at doNTCallback2 (node.js:452:9)
at process._tickCallback (node.js:366:17)
at Function.Module.runMain (module.js:459:11)
at startup (node.js:138:18)
at node.js:974:3
C:\Users\user\Desktop\jekyll-gulp-sass-browser-sync>
What should I do??
from jekyll-gulp-sass-browser-sync.
Looks like Windows couldn't run or find jekyll.
Have you installed jekyll properly?
from jekyll-gulp-sass-browser-sync.
Yeah I did gem install Jekyll it installed without any problems
On 06-Dec-2015 1:26 am, "Pete" [email protected] wrote:
Looks like Windows couldn't run or find jekyll.
Have you installed jekyll properly?—
Reply to this email directly or view it on GitHub
#20 (comment)
.
from jekyll-gulp-sass-browser-sync.
If you type "jekyll.bat" into cmd, do you get response?
from jekyll-gulp-sass-browser-sync.
Is this problem been solved yet? Do we have any solution now?
from jekyll-gulp-sass-browser-sync.
The best way of getting around this is to uninstall your whole dev environment and set up a clean dev environment in a separate folder where you install your Python(with dev kit as you will need that), Ruby etc. In that folder make a projects file and run all your project from there using cmd. This will negate the windows bullshit. Will post screenshots and instructions this week.
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 4
- 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.