Couchbase Questions: node.js SDK

Have a Question? Get it answered by our community

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

Node.js client library with memcached bucket.

Can I use couchbase node.js library not only to access couchbase bucket, but memcached buckets too? Is it possible at all, and if it's possible are there any differences in configuration between couchbase and memcached bucket?

castelobranco's picture
Asked 9 months 4 weeks ago
Latest activity 5 months 2 weeks ago

node.js with Visual Studio 2013

Hi,

I am trying to install the couchbase node.js package on a windows 8.1 with VS 2013 machine.
I am receiving the following error that appears to be related to not have the VS 2012 installed. Can you point me to a solution?

$ npm install couchbase
npm http GET...

marciorja's picture
Asked 10 months 1 hour ago
Latest activity 1 month 2 weeks ago

Try to install coubase node.js fails on OSX 10.9

I'm trying the command to install node.js module couchbase on a OSX 10.9:

npm install couchbase

npm WARN package.json jshint@0.9.1 No repository field.
npm WARN package.json recess@1.1.6 No
...
sruthi's picture
Asked 10 months 3 days ago
Latest activity 7 months 1 week 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 10 months 3 days ago
Latest activity 8 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 10 months 2 weeks ago
Latest activity 4 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 10 months 2 weeks ago
Latest activity 10 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 10 months 2 weeks ago
Latest activity 10 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 10 months 2 weeks ago
Latest activity 10 months 1 day 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 10 months 3 weeks ago
Latest activity 8 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...

Pages