shakyShane / jekyll-gulp-sass-browser-sync

A starter project including full setup for Jekyll, GulpJS, SASS & BrowserSync
728 stars 169 forks source link

Errors after command sudo npm install #19

Open nvcampen opened 9 years ago

nvcampen commented 9 years ago

Hey guys,

Just trying to install this nifty little plugin following DevTips video:

https://www.youtube.com/watch?v=nY4kQssg3lw&index=5&list=PLqGj3iMvMa4KeBN2krBtcO3U90_7SOl-A

I get an error after:

The main error seems to be: (node) child_process: options.customFds option is deprecated. Use options.stdio instead.

Can anyone help here ?

sliverdesign commented 9 years ago

hi i have the same probleme fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *\ [Release/obj.target/binding/binding.o] Error 1 gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Darwin 14.5.0 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/mac/Desktop/jekyll-gulp-sass-browser-sync-master/node_modules/gulp-sass/node_modules/node-sass gyp ERR! node -v v4.0.0 gyp ERR! node-gyp -v v3.0.1 gyp ERR! not ok Build failed npm ERR! Darwin 14.5.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! node v4.0.0 npm ERR! npm v2.14.2 npm ERR! code ELIFECYCLE

npm ERR! node-sass@0.9.6 install: node build.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-sass@0.9.6 install script 'node build.js'. npm ERR! This is most likely a problem with the node-sass package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node build.js npm ERR! You can get their info via: npm ERR! npm owner ls node-sass npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /Users/mac/Desktop/jekyll-gulp-sass-browser-sync-master/npm-debug.log help us

sliverdesign commented 9 years ago

after install npm-sass ihave this npm WARN package.json Dependency 'browser-sync' exists in both dependencies and devDependencies, using 'browser-sync@^1.9.2' from dependencies npm WARN package.json Dependency 'gulp' exists in both dependencies and devDependencies, using 'gulp@^3.9.0' from dependencies npm WARN package.json Dependency 'gulp-autoprefixer' exists in both dependencies and devDependencies, using 'gulp-autoprefixer@^1.0.0' from dependencies

nvcampen commented 9 years ago

Yeah, exact the same problem here.

mikaer86 commented 9 years ago

I also have the same problem, any solutions?

nadiaeagle commented 9 years ago

I have the same problem of sliver design too

JoshAMacD commented 9 years ago

I had the same issue so I did some playing around and had to install gulp-sass: npm install gulp-sass --save-dev after that I also installed gulp locally to my project. This seemed to solve all my issues.

nadiaeagle commented 9 years ago

I tried that @JoshAMacD, now the problem is: fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *\ [Release/obj.target/binding/binding.o] Error 1 gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Darwin 14.5.0 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/Chiara/Desktop/jekyll-gulp-sass-browser-sync-master/node_modules/gulp-sass/node_modules/node-sass gyp ERR! node -v v4.0.0 gyp ERR! node-gyp -v v3.0.1 gyp ERR! not ok Build failed npm WARN optional dep failed, continuing utf-8-validate@1.1.0 npm ERR! Darwin 14.5.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! node v4.0.0 npm ERR! npm v2.14.2 npm ERR! code ELIFECYCLE

npm ERR! node-sass@0.9.6 install: node build.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-sass@0.9.6 install script 'node build.js'. npm ERR! This is most likely a problem with the node-sass package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node build.js npm ERR! You can get their info via: npm ERR! npm owner ls node-sass npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /Users/Chiara/Desktop/jekyll-gulp-sass-browser-sync-master/npm-debug.log

JoshAMacD commented 9 years ago

I believe you need to do: npm install node-sass

I did this a while back for another error I had.

nadiaeagle commented 9 years ago

That worked! Thank you so much @JoshAMacD!

YanZinchenko commented 9 years ago

how to do it for Windows please write step by step, I have a lot of errors??

BarinsGhost commented 8 years ago

@JoshAMacD thank you so much!

san3091 commented 8 years ago

I'm having the same problem. I tried npm install gulp-sass --save-dev, as well as npm install node-sass, to no avail.

20 errors generated. make: *\ [Release/obj.target/binding/binding.o] Error 1 gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Darwin 14.5.0 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/Santiago/Desktop/jekyll-gulp-sass-browser-sync-master/node_modules/gulp-sass/node_modules/node-sass gyp ERR! node -v v4.2.1 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok Build failed npm ERR! Darwin 14.5.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! node v4.2.1 npm ERR! npm v2.14.7 npm ERR! code ELIFECYCLE

npm ERR! node-sass@0.9.6 install: node build.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-sass@0.9.6 install script 'node build.js'. npm ERR! This is most likely a problem with the node-sass package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node build.js npm ERR! You can get their info via: npm ERR! npm owner ls node-sass npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /Users/Santiago/Desktop/jekyll-gulp-sass-browser-sync-master/npm-debug.log

harrycresswell commented 8 years ago

@san3091 make sure you cd to node_modules within your project before doing npm install gulp-sass --save-dev then npm install node-sass afterwards and then it should work.

wicio commented 8 years ago

Fixed a problem with gulp-sass. Latest version is now 2.1.0 and works