async function cb() {
const clusterConnStr = "couchbases://localhost:8091";
const username = "Administrator";
const password = "xxx";
try {
const cluster = await couchbase.connect(clusterConnStr, {
username: username,
password: password,
timeouts: {
kvTimeout: 10000, // milliseconds
},
});
console.log("Connected....");
} catch (e) {
console.log(e);
}
}
cb();
I am getting the following error.
[Error: invalid_argument] { code: 3 }
Couchbase version
"couchbase": "^4.1.2"
Not sure why I am getting this error, any help would be appreciated.
