Skip to content

Instantly share code, notes, and snippets.

@jchris
Created May 14, 2013 22:54
Show Gist options
  • Save jchris/5580341 to your computer and use it in GitHub Desktop.
Save jchris/5580341 to your computer and use it in GitHub Desktop.
error with npm install couchbase
➜ twitterfight brew install libcouchbase
==> Downloading http://packages.couchbase.com/clients/c/libcouchbase-2.0.6.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/opt/boxen/homebrew/Cellar/libcouchbase/2.0.6 --disable-examples --disable-tests --disable-couchbasemock
==> make install
🍺 /opt/boxen/homebrew/Cellar/libcouchbase/2.0.6: 105 files, 912K, built in 13 seconds
➜ twitterfight npm install couchbase
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
> [email protected] install /Users/jchris/code/cb/js/twtft/node_modules/twitterfight/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:52: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 (/opt/boxen/nvm/v0.8.8/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:219:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:91:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:674:10)
gyp ERR! System Darwin 12.3.0
gyp ERR! command "node" "/opt/boxen/nvm/v0.8.8/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/jchris/code/cb/js/twtft/node_modules/twitterfight/node_modules/couchbase
gyp ERR! node -v v0.8.8
gyp ERR! node-gyp -v v0.6.7
gyp ERR! not ok
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the [email protected] 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
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 12.3.0
npm ERR! command "/opt/boxen/nvm/v0.8.8/bin/node" "/opt/boxen/nvm/v0.8.8/bin/npm" "install" "couchbase"
npm ERR! cwd /Users/jchris/code/cb/js/twtft/node_modules/twitterfight
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/jchris/code/cb/js/twtft/node_modules/twitterfight/npm-debug.log
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment