Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

set up failure when trying to execute "npm install" #248

Closed
mydiemho opened this issue Feb 12, 2015 · 5 comments
Closed

set up failure when trying to execute "npm install" #248

mydiemho opened this issue Feb 12, 2015 · 5 comments

Comments

@mydiemho
Copy link

@kencheeto, am I missing something?

~/dev/linksf $ npm install

npm WARN package.json Link-SF@v0.0.1 No repository field.

...

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. (/Users/myho/dev/linksf/node_modules/grunt-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 14.1.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
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
npm ERR! There is likely additional logging output above.

@mydiemho
Copy link
Author

I was able to run the setup after downgrading to node v0.10.36

@kencheeto
Copy link
Contributor

@mydiemho Yup, looks like node v0.12 requires recompilation of binaries. #249 should prevent this from happening for others. Thanks!

c.f. sass/node-sass#653

@am11
Copy link

am11 commented Feb 12, 2015

@kencheeto, no; node-sass v2.0.1 is released with node.js v0.12, v0.10 and io.js v1.2 pre-build binaries. Also see node-sass v2 release notes.

Manual build was only required, when we were at v2.0.0-beta mark.

@am11
Copy link

am11 commented Feb 12, 2015

The issue described by @mydiemho looks like the one that originated in v2.0.0's Mac binaries which was fixed in v2.0.1 (a quick patch). See sass/node-sass#665.

@kencheeto
Copy link
Contributor

@am11 ah, got it! Thanks :)

@mydiemho mydiemho reopened this Jun 24, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants