Skip to content

Instantly share code, notes, and snippets.

@mrcasals
Created October 23, 2014 12:34
Show Gist options
  • Save mrcasals/b590d2ee2ab585139b58 to your computer and use it in GitHub Desktop.
Save mrcasals/b590d2ee2ab585139b58 to your computer and use it in GitHub Desktop.
npm install couchbase
In file included from ../src/couchbase_impl.cc:21:
In file included from ../src/couchbase_impl.h:70:
../src/namemap.h:87:20: error: use of undeclared identifier 'NanPersistentToLocal'
return NanPersistentToLocal(names[ix]);
^
In file included from ../src/couchbase_impl.cc:21:
In file included from ../src/couchbase_impl.h:72:
../src/cookie.h:109:38: error: expected '(' for function-style cast or type construction
NanAssignPersistent(v8::Value, parent, cbo);
~~~~~~~~~^
../src/cookie.h:114:29: error: 'Object' does not refer to a value
NanAssignPersistent(Object, keyOptions, options);
^
/Users/marc/.node-gyp/0.10.32/deps/v8/include/v8.h:1485:7: note: declared here
class Object : public Value {
^
In file included from ../src/couchbase_impl.cc:21:
In file included from ../src/couchbase_impl.h:72:
../src/cookie.h:125:41: error: use of undeclared identifier 'NanPersistentToLocal'
Local<Object> localKeyOptions = NanPersistentToLocal(keyOptions);
^
../src/cookie.h:143:33: error: 'Object' does not refer to a value
NanAssignPersistent(Object, spooledInfo, Object::New());
^
/Users/marc/.node-gyp/0.10.32/deps/v8/include/v8.h:1485:7: note: declared here
class Object : public Value {
^
In file included from ../src/couchbase_impl.cc:21:
In file included from ../src/couchbase_impl.h:72:
../src/cookie.h:191:34: error: use of undeclared identifier 'NanPersistentToLocal'
Local<Value> localParent = NanPersistentToLocal(parent);
^
In file included from ../src/couchbase_impl.cc:21:
In file included from ../src/couchbase_impl.h:75:
../src/commands.h:53:16: error: use of undeclared identifier 'NanPersistentToLocal'
return NanPersistentToLocal(persKeys);
^
7 errors 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.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Darwin 11.4.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/marc/code/sento-c/locations_parser/node_modules/couchbase
gyp ERR! node -v v0.10.32
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment