Hi,
I am trying to see what views there are on the server and update any changed views when needed as part of our deployment script. When I try to use the following code, I get a Segmentation fault (core dumped).
var cluster = new this.couchbase.Cluster('127.0.0.1:8091')
var bucket = cluster.openBucket('bucket', 'password')
var bm = bucket.manager()
bm.getDesignDocuments(function(err, res) {
console.log(err, res)
})
I queried the bm object and it seems to be the correct object, but as soon as I try to do anything with the object (any of the methods supported) I get the seg fault:
VIEW NODE (null)
Segmentation fault (core dumped)
make: *** [run_single] Error 139
Couchbase: Version: 3.0.0 Enterprise Edition (build-1209)
Couchnode: couchbase@2.0.0
System: Ubuntu 14.04
Any help would be appreciated!
-Mark