gulp-sass: libsass bindings not found error on v1.3.1, v1.3.2

I was prevoiusly running gulp-sass 1.2.4(node-sass 1.2.3 dep.) and everything was working perfectly. But I deleted my node_modules folder, and upon npm reinstallation, npm installed gulp-sass 1.3.1(node-sass 2.0.0-beta) as a result of “^1.2.4” in package.json. when i try to compile sass with this version I get the error: “libsass bindings not found. try reinstalling node-sass?”

wordkaround: I simply rolled back to gulp-sass 1.2.4 and its working fine again.

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 52 (3 by maintainers)

Most upvoted comments

I same issue and had good luck with npm uninstall --save-dev gulp-sass then npm install --save-dev gulp-sass tnx all!

something wrong with binding in node-sass package inside gulp-sass. Install node-sass and remove gulp-sass/node_modules/node-sass works.

The only thing that worked for me:

  1. rm -rf node_modules
  2. remove gulp-sass from package.json
  3. npm install
  4. npm install --save-dev gulp-sass@2.1.0

Same issue here. node-sass not install globally. (OSX 10.10; node installed via brew; latest npm)

Error while installing:

tunneling socket could not be established, cause=connect ECONNREFUSED tunneling socket could not be established, cause=connect ECONNREFUSED fs: missing callback Error: ENOENT, unlink ‘/…/node_modules/gulp-sass/node_modules/node-sass/vendor/darwin-x64/binding.node’

But i think this error is related to node-sass not gulp-sass.