bnoordhuis / node-buffertools

working with node.js buffers made easy
ISC License
205 stars 35 forks source link

npm install fails. #66

Closed mattipr closed 8 years ago

mattipr commented 9 years ago

Hi,

When i try to do an npm install of this package on node v0.12.0, it fails with the following error. Attached is the terminal screenshot with the details of the failure. console output

bnoordhuis commented 9 years ago

string.h is a standard header. Do you have xcode installed?

rails4sandeep commented 8 years ago

OSX Yosemite Version 10.10.3

Installed whatever the app store shows the latest Developer Tools

I am getting this error

npm ERR! buffertools@1.1.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the buffertools@1.1.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the buffertools package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls buffertools
59309 verbose stack Error: buffertools@1.1.0 install: `node-gyp rebuild`
59309 verbose stack Exit status 1
59309 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:214:16)
59309 verbose stack     at EventEmitter.emit (events.js:98:17)
59309 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
59309 verbose stack     at ChildProcess.emit (events.js:98:17)
59309 verbose stack     at maybeClose (child_process.js:766:16)
59309 verbose stack     at Process.ChildProcess._handle.onexit (child_process.js:833:5)
59310 verbose pkgid buffertools@1.1.0
59311 verbose cwd /Users/sandeep.kumar/Development/vocus-internal-portal
59312 error Darwin 14.3.0
59313 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
59314 error node v0.10.40
59315 error npm  v2.14.4
59316 error code ELIFECYCLE
59317 error buffertools@1.1.0 install: `node-gyp rebuild`
59317 error Exit status 1
59318 error Failed at the buffertools@1.1.0 install script 'node-gyp rebuild'.
59318 error This is most likely a problem with the buffertools package,
59318 error not with npm itself.
59318 error Tell the author that this fails on your system:
59318 error     node-gyp rebuild
59318 error You can get their info via:
59318 error     npm owner ls buffertools
59318 error There is likely additional logging output above.
bnoordhuis commented 8 years ago

@rails4sandeep Can you file a new issue for that? It unrelated to this issue. Please include the contents of npm-debug.log.

I'm going to close this one because the OP never followed up.