Couchbase Questions: node.js SDK

Have a Question? Get it answered by our community

Bert's picture
Asked 1 month 3 weeks ago
Latest activity 3 weeks 6 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 2 months 13 hours 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 2 months 2 days ago
Latest activity 3 weeks 6 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 2 months 1 week 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?

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

How to put attachments into a bucket using the Node.js API?

Hello experts,

I'm trying to transfer some image files of thumbnails (one per CB document) to the iOS app that I'm writing.

I'm entering documents into my main bucket using the Node.js API, and the data gets synced to the iOS devices using the CB Sync Gateway and CBL.

I've...

flo_vonderuni's picture
Asked 2 months 3 weeks ago

Node.js, Sync Gateway, CBL: best way to transfer small files

Hello,

I'm trying to transfer some image files of thumbnails (one per CB document) to the iOS app that I'm writing.

I'm entering documents into my main bucket using the Node.js API, and the data gets synced to the iOS devices using the CB Sync Gateway and CBL.

I've seen that...

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

Timeout errors

I'm trying to connect to a remote couchbase server, the connection callback fires ok. But if i try to get a key i get a [Error: Operation timed out] code: 23 error and if i try to query a view i get a...

stemail23's picture
Asked 3 months 5 hours ago
Latest activity 3 months 29 min ago

serialising/deserialising CAS

I'm noticing that I have to use the exact cas object returned from a "get" operation as the cas option in a subsequent "set" operation. If I make a copy of the cas object e.g. cas = JSON.parse(JSON.stringify(cas)) then the "set" call fails with keyAlreadyExists.

So the question is, how...

bjullien's picture
Asked 3 months 3 weeks ago
Latest activity 3 months 6 days ago

Cannot make couchbase node.js SDK working under CenOS 6.5

Cannot make couchbase node.js client working under CenOS 6.5.

Here is the error when I start my nodejs process:

/opt/piiLearningServer/node_modules/couchbase/lib/binding.js:37
throw new Error('Failed to locate couchnode native binding');
^
Error: Failed...

pharvener@yahoo.com's picture
Asked 3 months 3 weeks ago
Latest activity 2 months 4 weeks ago

problem Node.js couchbase sdk

I am having problems running Node.js couchbase. I have
built libcouchbase C library but for reason it can find it.

/home/paul/workspaces/hoop/workspace/Bozo/node_modules/couchbase/lib/binding.js:37
throw new Error('Failed to locate couchnode native binding');

I am...

Pages