I’m trying to run the Node SDK code from github for provisioning clusters. The code fails on the call to create bucket using bucket manager.
ERR: Error: cluster object was closed
at Connection.close (D:\workspace\cb\node_modules\couchbase\lib\connection.js:266:24)
- Why do we need “const bucket = cluster.bucket(“default”);” call?
- Can someone explain why this is happening and how can I fix this?