gremlin-javascript icon indicating copy to clipboard operation
gremlin-javascript copied to clipboard

Gremlin.createClient is not a function

Open tatsuya-takahashi opened this issue 6 years ago • 2 comments

I don't know why this error occured with below code.

const Gremlin = require("gremlin");
// Gremlin
const client = Gremlin.createClient(
    443,
    ...

Typescript 3.0.4 gremlin: 3.3.4

tatsuya-takahashi avatar Oct 23 '18 13:10 tatsuya-takahashi

You have to use the gremlin version 2.7.0:

npm install [email protected]

The function createCliente doesn't work with gremlin's new versions.

sjmamani avatar Oct 27 '18 21:10 sjmamani

@sjmamani thank you for your kindness, It works for me.

tatsuya-takahashi avatar Oct 28 '18 07:10 tatsuya-takahashi