I’m trying the command to install node.js module couchbase on a OSX 10.9:
npm install couchbase
npm WARN package.json jshint@0.9.1 No repository field.
npm WARN package.json recess@1.1.6 No repository field.
npm http GET https://registry.npmjs.org/couchbase
npm http 304 https://registry.npmjs.org/couchbase
npm http GET https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/bindings
couchbase@1.0.1 install /Volumes/1TB/Estudos/node_modules/couchbase
node-gyp rebuild
CXX(target) Release/obj.target/couchbase_impl/src/couchbase_impl.o
In file included from …/src/couchbase_impl.cc:21:
…/src/couchbase_impl.h:64:10: fatal error: ‘libcouchbase/couchbase.h’ file not found
#include <libcouchbase/couchbase.h>
^
1 error generated.
make: *** [Release/obj.target/couchbase_impl/src/couchbase_impl.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Darwin 13.0.0
gyp ERR! command “node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” "rebuild"
gyp ERR! cwd /Volumes/1TB/Estudos/node_modules/couchbase
gyp ERR! node -v v0.10.18
gyp ERR! node-gyp -v v0.10.9
gyp ERR! not ok
npm ERR! weird error 1
npm ERR! not ok code 0
I installed the libcouchbase using brew.
Is this a bug?