Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Gulp Basics Compile Sass with Gulp Turn Sass into CSS, automatically

Cannot install gulp-sass

Checked that I had latest installs of node and npm, but still unable to install gulp. Is there another sass-converter or some other workaround for this part of the course?

Darwin 10.8.0
npm ERR! argv "/usr/local/Cellar/node/5.2.0/bin/node" "/usr/local/bin/npm" "install" "gulp-sass" "--save-dev"
npm ERR! node v5.2.0
npm ERR! npm  v3.3.12
npm ERR! code ELIFECYCLE

npm ERR! node-sass@3.4.2 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the node-sass@3.4.2 postinstall script 'node scripts/build.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, 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 scripts/build.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-sass

After checking through the Github page, it seems like the issue is with node-sass. Is node-sass a requirement for gulp-sass??

The issue is inadequate system requirements, although there aren't any minimum system requirements mentioned on the gulp-sass page. I will say that solving this issue was an exercise in poor user experience.

Hi Alison,

Just saw this and I'm curious about the 'minimum system requirements' you're referring to. I remember having a similar issue with installing sass at one point (sadly that's all I remember.) That said, a quick research leads me to believe that the issue may be related to the node-sass being compiled on OSX 10.9.x, and you're using 10.8. Is it possible for you to update to Yosemite, or is that the system requirements you're bumping up against (can't upgrade)?

Best, Cena

1 Answer