Could you remove grpc = require("grpc") and try again?
Need not pass insecure channel here, since that is the default.
const clientStub = new dgraph.DgraphClientStub(
"localhost:9080",
grpc.credentials.createInsecure()
)
Could you remove grpc = require("grpc") and try again?
Need not pass insecure channel here, since that is the default.
const clientStub = new dgraph.DgraphClientStub(
"localhost:9080",
grpc.credentials.createInsecure()
)