OSX 10.10.1 Couchbase Node Client Installation node-gyp error


#1

I am getting following error while installing couchbase node sdk client.

(node-gyp rebuild 2> builderror.log) || (exit 0)

I checked the builderror.log file but it’s empty.

Any pointer towards resolving this issue will be helpful.


#2

More details:

(node-gyp rebuild 2> builderror.log) || (exit 0)

npm ERR! couchbase@2.0.2 install: (node-gyp rebuild 2> builderror.log) || (exit 0)

npm ERR! spawn ENOENT

npm ERR!

npm ERR! Failed at the couchbase@2.0.2 install script.

npm ERR! This is most likely a problem with the couchbase package,

npm ERR! not with npm itself.

npm ERR! Tell the author that this fails on your system:

npm ERR! (node-gyp rebuild 2> builderror.log) || (exit 0)

npm ERR! You can get their info via:

npm ERR! npm owner ls couchbase

npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 14.0.0

npm ERR! command “node” “/usr/local/bin/npm” “install” “couchbase”

npm ERR! cwd /Users/dipen/code/chatter/servers/chatserver

npm ERR! node -v v0.10.34

npm ERR! npm -v 1.4.28

npm ERR! syscall spawn

npm ERR! code ELIFECYCLE

npm ERR! errno ENOENT

npm ERR! not ok code 0


#3

Hey dbhikadiya,

Would you be able to provide the contents of the builderror.log file? It appears that you’re compiler toolchain is not set up correctly for node-gyp (check out here for more information on the requirements: https://github.com/TooTallNate/node-gyp#installation).

Cheers, Brett