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

Cannot install with ember-cli 0.2.0-beta.1 #50

Closed
ninjatronic opened this issue Feb 19, 2015 · 6 comments
Closed

Cannot install with ember-cli 0.2.0-beta.1 #50

ninjatronic opened this issue Feb 19, 2015 · 6 comments

Comments

@ninjatronic
Copy link

Hi,

Not sure if this should be here or in ember-cli - if this is not the place I'll move the report over there.

This is an install into a freshly generated app using ember-cli@0.2.0-beta.1...

$ ember install:npm broccoli-sass
version: 0.2.0-beta.1
Installing packages for tooling via npm..Binary downloaded and installed at /Users/pete/ninjatronic/spikes/node_modules/broccoli-sass/node_modules/node-sass/vendor/darwin-x64/binding.node
Installing packages for tooling via npm...`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> (/Users/pete/ninjatronic/spikes/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)
node-sass@1.2.3 postinstall: `node scripts/build.js`
Exit status 1
Error: node-sass@1.2.3 postinstall: `node scripts/build.js`
Exit status 1
    at EventEmitter.<anonymous> (/Users/pete/ninjatronic/spikes/node_modules/ember-cli/node_modules/npm/lib/utils/lifecycle.js:212:16)
    at EventEmitter.emit (events.js:110:17)
    at ChildProcess.<anonymous> (/Users/pete/ninjatronic/spikes/node_modules/ember-cli/node_modules/npm/lib/utils/spawn.js:14:12)
    at ChildProcess.emit (events.js:110:17)
    at maybeClose (child_process.js:1008:16)
    at Process.ChildProcess._handle.onexit (child_process.js:1080:5)
@anler
Copy link

anler commented Feb 19, 2015

@ninjatronic I was using node v0.12.0 and in order to fix it I had to switch back to v0.10.36

@ninjatronic
Copy link
Author

@anler thanks for the workaround - I too am using node v0.12...

$ node -v
v0.12.0

@brendanvinson
Copy link

@anler @ninjatronic You could also find someone who's forked the project and fixed it on their end with a pull request, such as:

npm install hipertracker/broccoli-sass --save-dev

It will save the specific github URL into package.json, but still a bit of a pain for addons that have it as a dependency though.

@anler
Copy link

anler commented Feb 20, 2015

@ventismith Good to know, thanks!

@denniszhao
Copy link

Any hope for switching to node-sass v2.0.0+ (supports v0.12)?

edit: Sorry, just read this: #43

@simonexmachina
Copy link
Collaborator

This issue is resolved by aexmachina/ember-cli-sass v3.1.0. See #47 for more details.

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

5 participants