Random thoughts & observations

From the mundane to the profound and everything in between here’s what’s rocking our world

Resolving Gulp libsass error

Posted: April 29, 2015
Written by: Saints At Play
Category: Gulp

If you've recently updated the Gulp task runner program you might encounter the following error with a previously working installation of gulp-sass:

/Users/whatever-your-user-directory-is-called/project-directory/gulp/node_modules/gulp-sass/node_modules/node-sass/sass.js:22
throw new Error('`libsass` bindings not found. Try reinstalling `node-sass`?

We found the following fixed the issue, allowing for Gulp to process Sass as it had done prior to the update.

From the command line, and within the directory where your local installation of Gulp is located, run the following to uninstall the existing gulp-sass module:

npm uninstall ——save-dev gulp-sass

Then run the following to install a fresh version of gulp-sass:

npm install gulp-sass ——save-dev

This should, hopefully, fix the issue with the lib-sass bindings error when you next run Gulp tasks.

If not, feel free to explore the following thread for other potential solutions.

« Return to Posts

Comments

Gravatar
Jacintofmathew

July 27, 2015

Thanks a bunch for sharing this with all people you
actually realize what you are talking about! Bookmarked.
Kindly additionally seek advice from my site =).

We may have a hyperlink exchange agreement among us

Gravatar
Carybtrudillo

July 22, 2015

Way cool! Some very valid points! I appreciate you writing this write-up and the rest of the site is really good.

Gravatar
Jeanette

July 22, 2015

Been running into this exact issue. Thanks for this great little post about it!

Gravatar
Alphonsevwerkhoven

July 15, 2015

Appreciate the recommendation. Will try it out.

Gravatar
Agustinbabolt

July 13, 2015

I'm extremely impressed together with your writing abilities and also
with the format in your blog. Is this a paid topic or did you modify it your self?
Anyway keep up the excellent high quality writing,
it's uncommon to look a nice weblog like this one today..

Posting comments after three months has been disabled.