Hi @AV25242 The code that you provided does indeed work but it is different from the code on github.
When I try to do it with the version I posted, I get bizarre errors. It even fails to recognize the cluster.buckets() function and the error reads that it is not a function.
I’m left wondering what’s so special about the code that you’ve written vs the code on github using ‘new’ [ const cluster = new couchbase.Cluster()]. https://docs.couchbase.com/sdk-api/couchbase-node-client/Cluster.html
The example shows it but when executing, it fails.
Can you shed some light on this?