Couchbase Questions: node.js SDK

Have a Question? Get it answered by our community

teriyaki's picture
Asked 2 months 2 weeks ago
Latest activity 1 month 1 week ago

node-gyp compile error on osx

try to install couchbase nodejs client on osx

sudo npm install couchbase

It reported error:

npm WARN cannot run in wd couchbase@1.2.4 (node-gyp rebuild 2> builderror.log) || (exit 0) (wd=/Users/mymac/node_modules/couchbase)

then I went to node_modules/couchbase and...

rech's picture
Asked 2 months 3 weeks ago
Latest activity 1 month 1 week ago

how can I change the hash algorithm to control the end vbucket of a document?

how can I change the hash algorithm to control the end vbucket of a document?
I want to be able to store all user documents in the same vbucket.
thank you.

shai's picture
Asked 2 months 3 weeks ago
Latest activity 1 month 2 weeks ago

Error while establishing TCP connection

Hi,

I'm unable to connect to my remote hosts with couchnode (1.2.4).
My Couchbase version is 2.2.0

Seems like the initialization succeeds:
var db = new couchbase.Connection({host: 'MyIPHere:8091'});...

teriyaki's picture
Asked 2 months 3 weeks ago
Latest activity 2 months 3 weeks ago

dlopen being called on OS X on Node v0.10.28 (couchnode 1.2.4)

I used code below to test couchbase

var couchbase = require('couchbase');
var db = new couchbase.Connection({
bucket: "default"

},
function(err) {
if (err) throw err;
db.set('testdoc1', {
name: 'Frank1'
},...

teriyaki's picture
Asked 2 months 3 weeks ago

dlopen being called on OS X on Node v0.10.28

I used code below to test couchbase

 var couchbase = require('couchbase');
 var db = new couchbase.Connection({
         bucket: "default"
 
     },
     function(err) {
         if (err) throw err
...
teriyaki's picture
Asked 2 months 3 weeks ago

dlopen being called on OS X on Node v0.10.28

I used code below to test couchbase

 
var couchbase = require('couchbase');
 var db = new couchbase.Connection({
         bucket: "default" 
 
     },
     function(err) {
         if (err) throw err
...
Bert's picture
Asked 3 months 1 day ago
Latest activity 2 months 3 days ago

How to get couchbase working for node 0.11.13 ?

This is all I get:

felis@LoadBalancer:~/Dropbox$ node couchbase.js
/home/felis/node_modules/couchbase/lib/binding.js:17
throw e;
^
Error: Module did not self-register.
at Error (native)
...

jbroughton's picture
Asked 3 months 6 days ago

Querying a view count issue

Greetings

I have a query I am running and its returning some strange results:

In my view the key is set up as [identifier, type]

in my query I am passing:
keys: [[identifier, 'receipt'],
[identifier, 'open'],
[identifier, 'help'],...

jfbelisle's picture
Asked 3 months 1 week ago
Latest activity 2 months 3 days ago

Couchbase client doesn't support node 0.11.13

Hi,

I updated my node version to the 0.11 branch and now couchbase won't rebuild. It looks like the nan (v 0.8) module you are using doesn't work well with node 0.11 (https://github.com/wadey/node-microtime/issues/19)....

ldapmonkey's picture
Asked 3 months 2 weeks ago

CouchBase Errors in the NodeJS library

I don't know C very well, so digging through the libcouchbase source to try and figure out what "code=4098" means is useless. Is there a method available in the node module that would translate code 4098 into something that actually means something to me? If not, why not?

Pages