Couchbase Questions: node.js SDK

Have a Question? Get it answered by our community

churchs's picture
Asked 9 months 1 week ago
Latest activity 8 months 6 days 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 9 months 3 weeks ago
Latest activity 4 months 5 days ago

How to create view by using Node.js SDK


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


qingdou's picture
Asked 9 months 3 weeks ago
Latest activity 9 months 3 weeks ago

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


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 9 months 3 weeks ago
Latest activity 9 months 3 weeks ago

Node.js SDK 'Operation timed out' error


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

db.get(key, value, function (err, result) {
db.set(key, value, function (err, result) {

I can save and read documents...

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

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


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 10 months 5 days ago
Latest activity 7 months 3 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 10 months 6 days 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 10 months 1 week ago
Latest activity 10 months 3 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 10 months 3 weeks ago
Latest activity 10 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 11 months 1 day ago
Latest activity 10 months 4 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...