It's just happened when trying running the quick-start in the redmi file
const { Etcd3 } = require('etcd3');
const client = new Etcd3();
(async () => {
await client.put('foo').value('bar');
const fooValue = await client.get('foo').string();
console.log('foo was:', fooValue);
const allFValues = await client.getAll().prefix('f').keys();
console.log('all our keys starting with "f":', allFValues);
await client.delete().all();
})();
The output error is:
node:internal/process/promises:279
triggerUncaughtException(err, true /* fromPromise */);
^
GRPCUnavailableError: 14 UNAVAILABLE: No connection established
Node version is 17.6.0