Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: libsass bindings not found when using iojs #436

Closed
Siecje opened this issue Apr 2, 2015 · 6 comments
Closed

Error: libsass bindings not found when using iojs #436

Siecje opened this issue Apr 2, 2015 · 6 comments

Comments

@Siecje
Copy link

Siecje commented Apr 2, 2015

When I try to use harp from the REPL or from the terminal I get an error about libsass.

As a workaround can you disable Sass if you are not using it?

> var h = require('harp');
Error: `libsass` bindings not found. Try reinstalling `node-sass`?
    at getBinding (/home/siecje/Desktop/genesis/node_modules/harp/node_modules/terraform/node_modules/node-sass/lib/index.js:22:11)
    at Object.<anonymous> (/home/siecje/Desktop/genesis/node_modules/harp/node_modules/terraform/node_modules/node-sass/lib/index.js:188:23)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:428:10)
    at Module.load (module.js:335:32)
    at Function.Module._load (module.js:290:12)
    at Module.require (module.js:345:17)
    at require (module.js:364:17)
    at Object.<anonymous> (/home/siecje/Desktop/genesis/node_modules/harp/node_modules/terraform/lib/stylesheet/processors/scss.js:1:74)
    at Module._compile (module.js:410:26)
@dwarcher
Copy link

dwarcher commented Apr 3, 2015

getting this same error (Mac OSX)

@underr
Copy link

underr commented Apr 5, 2015

Same here.

@hastebrot
Copy link

Same error here.

Workaround: Remove array items scss and sass from node_modules/harp/node_modules/terraform/lib/helpers/raw.js.

var processors = exports.processors = {
  "html": ["jade", "ejs", "md"],
  "css" : ["styl", "less"],
  "js"  : ["coffee"]
}

BTW: The terraform repository is at https://github.com/sintaxi/terraform.

@hastebrot
Copy link

There is a branch that updates the node-sass dependency to a newer version, which also fixes this error.

I installed it with:

npm install -g https://github.com/sintaxi/terraform#release-v0.11.1

Related pull request: sintaxi/terraform#94

@cfjedimaster
Copy link

Any update on this? I just got hit by it too.

@sintaxi
Copy link
Owner

sintaxi commented Sep 10, 2015

Working on it now. Released new terraform this morning. New release of harp is imminent.

https://github.com/sintaxi/terraform/releases/tag/v0.12.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants