Couchbase Questions: node.js SDK

Have a Question? Get it answered by our community

azappala's picture
Asked 11 months 1 week ago
Latest activity 8 months 4 weeks ago

What are the valid Connection.add options?

Are the options documented somewhere ?

The reason I ask is because I want to do is set an option that will ensure the document is persisted to disk before returning. What I did was set the persist_to option to a number >=1. I think that should do it, but I just want to confirm that is...

WooD's picture
Asked 11 months 1 week ago

[TypeError: Cannot read property 'status' of undefined] at ret (/opt/shop/node_modules/couchbase/lib/http.js:15:26)


node version: 0.10.18
couchbase server version: 2.1.1 community
couchbase client C version: 2.1.3
couchbase client node version: latest from git (til 2013-09-28)
OS: amazon version linux
Setting: 2 nodejs (medium) connect to 1...

jonathonl's picture
Asked 11 months 1 week ago
Latest activity 11 months 5 days ago

Node.js View Query Crashes Silently

Calling vew.query() crashes node.js process without error. The CB admin console stats show that the requests are being made, but the process exits before the callback function is called.

pithu's picture
Asked 11 months 3 weeks ago
Latest activity 11 months 2 weeks ago

npm install couchbase@0.1.0 fails on ubuntu 12.04

when i try to install the couchbase couchnode modul on ubuntu 12.04 (with the libcouchbase packages from installed before) it fails with the error:...

enko's picture
Asked 12 months 3 days ago
Latest activity 12 months 1 day ago

Couchnode installation on windows

Not sure if this question goes anywhere, totally confused on how this "community" thing works. But if this gets seen...

Anyone having problems with compilation errors when doing:

npm install couchbase

with c:couchbase containing the latest libcouchbase?

I am getting...

mvgetz's picture
Asked 1 year 1 day ago
Latest activity 12 months 1 hour ago

The new release of Couchnode 0.1.0 is Fast!

This may not be the right place for this since it is not really a question but had to find some place to tell the Couchbase team 'Great Job!'.

Just did some simple testing of the new couchnode 1.0 library and it is GREAT! We tested it before and it was slightly slower than the node-...

syd's picture
Asked 1 year 1 week ago
Latest activity 10 months 4 weeks ago

Network error 16 in bucket.js when try to get or set

I have a this simple script:

var cb = require('couchbase');
var bucket;
var connectionSettings = {
idragoev's picture
Asked 1 year 1 week ago
Latest activity 1 year 1 week ago

Unexpected Network Error

Hi all,
I have a fresh Ubuntu 13.04 installation and I'm following the steps needed to install libcouchbase from the repository:
In our project we use Nodejs...

WooD's picture
Asked 1 year 1 month ago
Latest activity 1 year 1 month ago

Questions about couchbase and node.js working together

1. in github, there is no any example about using the bucket.view("design/products", "view/client", "[1,2,3]", function (?)). Does anybody have the example? especially for callback function signature

2. When I study the view function in bucket.js, I found a callback, "couchnodeRestHandler...

coder_lol's picture
Asked 1 year 2 months ago
Latest activity 1 year 2 months ago

Key size - 1 byte or 2 bytes

A key with a single character "k" takes up 1 or 2 bytes? In other words, does Couchbase treat the characters in a key as a 1-byte character or a 2-byte character?