Couchbase Questions: node.js SDK

Have a Question? Get it answered by our community

qingdou's picture
Asked 11 months 2 weeks ago
Latest activity 5 months 3 weeks 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 11 months 2 weeks ago
Latest activity 11 months 2 weeks 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 11 months 2 weeks ago
Latest activity 11 months 2 weeks 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 11 months 2 weeks ago
Latest activity 11 months 2 days 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 11 months 3 weeks ago
Latest activity 9 months 2 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 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 12 months 2 hours ago
Latest activity 11 months 3 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 1 year 1 week ago
Latest activity 1 year 2 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:...

enko's picture
Asked 1 year 2 weeks ago
Latest activity 1 year 2 weeks 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 2 weeks ago
Latest activity 1 year 1 week 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-...

Pages