Closed shanequint closed 4 years ago
@shanequint what version of janusgraph and gremlin package are you using?
I'm running Janusgraph 0.3.1 with gremlin CLV installed with express_cassandra which I think is 2.6.0?
It looks like I had an old version of gremlin-javascript CLV in my package.json. Even though I tried to upgrade it. I finally blew away my node_modules, removed the old version from package.json and did a re-install. Now I have version 3.4.3 of gremlin-javascipt CLV. I will test more tomorrow. Thanks
The gremlin package used by express-cassandra is 2.6.0. If janusgraph is used, then for now it is advised to use that specific gremlin version with it which is documented now.
I have set up a node.js route that executes the express-cassandra with the ormOptions: manageGraphs: true.
I get the error message "
".
In the get_gremlin_client function:
if (!this._properties.gremlin_client) { throw (new Error('To use janus graph features, set
manageGraphsto true in ormOptions')); } return this._properties.gremlin_client; };
It looks to be checking the gremlin_client property instead of the properties.init.manageGraphs. This makes the creating of a Vertex within the supplied keyspace fail.
Am I missing some configuration?
Here is the sample I am attempting.