Questions tagged [couchnode]
11 questions
5
votes
2 answers
Trouble configuring/building couchnode on ubuntu
I have installed both nodejs, and the module couchbase via npm. couchbase is installed too,
and I can access to the backend via the browser.
The same server.js file does work on windows.
I have installed python 2.7. am I missing something?
Im…

InsOp
- 2,425
- 3
- 27
- 42
2
votes
0 answers
Couchbase view query not returning all matching documents
I created a view with two fields as key for the index like this [type, time]. When I tried to fetch the documents using the below query I was missing some of my documents in the resultset.
Javascript view I used looks something like…

Mohit
- 79
- 2
- 6
1
vote
1 answer
How to do post filter with couchnode / couchbase server?
I've been developing using Couchbase Server 4.0 and upgrading to 5.0 is down the road but not at the moment.
But for now I do need to search views (map/reduce) using text search, on Couchbase Lite .Net there is PostFilter that serve the purpose.…

Chinh Nguyen
- 583
- 1
- 7
- 14
1
vote
2 answers
Can't use "mutateIn" with couchbase node sdk
I'm trying to implement this bit of code:
bucket.mutate_in('some_doc',
SD.array_append('some.array', 'Hello', 'World',
create_parents=True))
Which I'm getting from here:…

Attila
- 1,097
- 2
- 19
- 45
1
vote
1 answer
Bulk operation has failed in Couchbase
I'm new in Couchbase.
I'm trying to some basic operations with Node.js from the Couchbase Documents on Couchbase Server 3.0.1 .
When I try the bulk operations, the codes - that have gotten from Couchbase docs - has failed.
There is a Data Bucket…

efkan
- 12,991
- 6
- 73
- 106
1
vote
1 answer
install couchnode(couchbase nodejs client) with compiling error on osx
afer installed libcouchbase, I excuted
sudo npm install couchbase
It reported error:
npm WARN cannot run in wd couchbase@1.2.4 (node-gyp rebuild 2> builderror.log) || (exit 0) (wd=/Users/mymac/node_modules/couchbase)
then I went to…

arachide
- 8,006
- 18
- 71
- 134
0
votes
1 answer
node couchbase install error
I try to install npm install couchbase, it seems like installed correctly:
But when I run the following code:
var couchbase = require('couchbase');
var cluster = new couchbase.Cluster('couchbase://127.0.0.1');
var bucket =…

Alvin
- 8,219
- 25
- 96
- 177
0
votes
1 answer
Couchnode Upsert Response
I am new to couchbase and couchnode. Considering couchnode Documentation,
upsert callback function only return err and CAS. I want to get updated or inserted object in response. How can I do this?
Below is documentation detail for upsert…

Jahanzaib Aslam
- 2,731
- 3
- 21
- 26
0
votes
1 answer
Couchbase 2.0.0 Node no suitable image found
I was using Couchbase nodejs module version 2.0.0-beta4 for some time already, and today I wanted to switch to the latest version which is 2.0.0.
After installing the 2.0.0 version I don't seem to be able to run my application anymore, I've tried to…

Abu Romaïssae
- 3,841
- 5
- 37
- 59
0
votes
2 answers
Error Connecting to CouchBase from Node.js using Couchnode module v.2.0.0
I am trying to test couchnode "Couchbase Node.js Client" V2.0.0 but it does not work.
I have a couchbase installed with 2 buckets : default and beer-sample
I follow the README : couchnode
$ npm install couchbase
The example in the README works…

clood
- 27
- 1
- 8
0
votes
1 answer
tutorial that install couchnode on couchbase/mac os x&linux
I hope to integrate couchnode to my project that make me to access couchbase via nodejs conveniently.
Is there any tutorial that demonstrate how to install couchnode
https://github.com/couchbase/couchnode
the document on the url above does not…

arachide
- 8,006
- 18
- 71
- 134