Couchbase Questions: node.js SDK

Have a Question? Get it answered by our community

David Rousselie's picture
Asked 14 min 18 sec ago

removeMulti error result not expected

Hello,

I have an unexpected behavior from removeMulti with {persist_to: 1} which report an error "The key does not exist on the server" when the key actually exist and it actually remove the key.

Here is the code which return an error:

...
user127's picture
Asked 1 day 17 hours ago

Where Is The Options Parameter To getMulti Documented?

The getMulti() docs I can find mention the options parameter, but do not enumerate what those options are. Maybe I'm looking i the wrong place?

r3p7il3's picture
Asked 1 month 5 days ago
Latest activity 1 week 1 day ago

getMulti returns error when it fails to find a key

When I do a getMulti (or a get for that matter) for a key that doesn't exist, it's returning an error:
[Error: At least one of your operations failed, check the results object for more information.] code: 4101

And in the missing key:
error: { [Error: The key does not exist on...

teriyaki's picture
Asked 1 month 1 week ago
Latest activity 17 min 47 sec 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 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 1 month 1 week ago
Latest activity 1 week 3 days 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 1 month 2 weeks ago
Latest activity 1 month 1 week 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 1 month 2 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 1 month 2 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 1 month 3 weeks ago
Latest activity 3 weeks 2 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)
...

Pages