joliss / broccoli-sass

Sass compiler for Broccoli, using libsass
MIT License
44 stars 97 forks source link

Issue installing after running npm install #48

Closed albertpak closed 9 years ago

albertpak commented 9 years ago
> node-sass@1.2.3 install /path_to_app/node_modules/broccoli-sass/node_modules/node-sass
> node scripts/install.js

Binary downloaded and installed at /path_to_app/node_modules/broccoli-sass/node_modules/node-sass/vendor/darwin-x64/binding.node

> node-sass@1.2.3 postinstall /path_to_app/node_modules/broccoli-sass/node_modules/node-sass
> node scripts/build.js

`darwin-x64` exists; testing
module.js:355
  Module._extensions[extension](this, filename);
                               ^
Error: Module did not self-register.
    at Error (native)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/path_to_app/node_modules/broccoli-sass/node_modules/node-sass/lib/index.js:181:15)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
npm ERR! Darwin 13.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "--save-dev" "broccoli-sass"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.1
npm ERR! code ELIFECYCLE

npm ERR! node-sass@1.2.3 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@1.2.3 postinstall script 'node scripts/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 scripts/build.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-sass
Ghostavio commented 9 years ago

same here, this is due the node-sass update

albertpak commented 9 years ago

yeah, i had to rollback to node v0.10.35...not sure what other versions it might work with...but with latest v0.12.0, it definitely doesn't

simonexmachina commented 9 years ago

See #43.

On Sat, 14 Feb 2015 04:35 Al notifications@github.com wrote:

yeah, i had to rollback to node v0.10.35...not sure what other versions it might work with...but with latest v0.12.0, it definitely doesn't

— Reply to this email directly or view it on GitHub https://github.com/joliss/broccoli-sass/issues/48#issuecomment-74292866.

albertpak commented 9 years ago

@xzyfer This might be related to issue #490 for node-sass

xzyfer commented 9 years ago

@albertpak correct node-sass < 2.0.0 is not compatible with node 0.12. Either downgrade to 0.10 (or use nvm), or wait til https://github.com/joliss/broccoli-sass/pull/43 is merged as @exmachina points out.

simonexmachina commented 9 years ago

Resolved by #47.