Hi,
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)
at D:\workspace\cb\node_modules\couchbase\lib\cluster.js:612:14
Two questions:
- Why do we need “const bucket = cluster.bucket(“default”);” call?
- Can someone explain why this is happening and how can I fix this?
Thanks,
Kashyap