Couchbase Questions: node.js SDK

Have a Question? Get it answered by our community

sruthi's picture
Asked 5 months 4 weeks ago
Latest activity 3 months 2 days ago

Getting following TypeError: Cannot read property 'status' of undefined, for concurrent 2000 request

Hi,

I have a simple code to get value from couchbase view using nodejs sdk. it works fine for 1000 request(from apache jmeter). but when i try for 2000 request it fails and throw following error

/xxx/xxx/xxx/xxx/node_modules/couchbase/lib/http.js:15
if (error &&...

churchs's picture
Asked 5 months 4 weeks ago
Latest activity 4 months 3 weeks ago

Node.JS SDK access to Cluster from Amazon EC2

I am hoping that someone can assist with a connectivity issue I am having from an Amazon EC2 Ubuntu box with NodeJS SDK installed and trying to communicate with a Couchbase Cluster.

The facts are:-

Cluster - A 3 node cluster (version 2.2.0 enterprise edition (build-821) on an...

qingdou's picture
Asked 6 months 1 week ago
Latest activity 3 weeks 1 hour ago

How to create view by using Node.js SDK

Hello,

Is there a way to create view by using Node,js SDK?

Thanks.

qingdou's picture
Asked 6 months 1 week ago
Latest activity 6 months 1 week ago

How to deploy app with node.js SDK to AWS Opsworks?

Hello,

I would like to deploy my app which used Couchbase Node.js SDK to AWS OpsWorks. Since the 'couchnode' module can't be installed simply using npm package, should I install this module manually on the Amazon VM?

Any Suggestions? Thanks!

qingdou's picture
Asked 6 months 1 week ago
Latest activity 6 months 1 week ago

Node.js SDK 'Operation timed out' error

Hello,

I get 'Operation timed out' error when running the following function:

db.get(key, value, function (err, result) {
console.log(err);
});
db.set(key, value, function (err, result) {
console.log(err);
});

I can save and read documents...

qingdou's picture
Asked 6 months 1 week ago
Latest activity 5 months 3 weeks ago

Node.js SDK 'undefined symbol' error from couchbase_impl.node

Hello,

I have successfully installed Couchbase Node.j SDK on linux. I got the following error when I tried to connect to a bucket.

$ node test.js
$/home/user1/node_modules/couchbase/build/Release/couchbase_impl.node: undefined symbol:...

azappala's picture
Asked 6 months 3 weeks ago
Latest activity 4 months 1 week 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 6 months 3 weeks ago

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

2013-09-28

Environment
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 6 months 3 weeks ago
Latest activity 6 months 2 weeks 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.

        try
...
pithu's picture
Asked 7 months 1 week ago
Latest activity 7 months 3 days 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 http://packages.couchbase.com/ubuntu/couchbase-ubuntu1204.list installed before) it fails with the error:...

Pages