Re: Could not alias [g] to [g] as [g]
Yamiteru XYZ <yamit...@...>
Hi,
toggle quoted message
Show quoted text
- yes I can estabilish ws connection to my server with a general ws test client. - the g in javascript prints this value: GraphTraversalSource { graph: Graph {}, traversalStrategies: TraversalStrategies { strategies: [ [RemoteStrategy] ] }, bytecode: Bytecode { sourceInstructions: [], stepInstructions: [] }, graphTraversalSourceClass: [class GraphTraversalSource], graphTraversalClass: [class GraphTraversal extends Traversal] } - when I try to print count like this I get no value at all: g.V().count().toList() .then(v => console.log("-- COUNT --", v)) .catch(e => console.log("-- ERROR --", e)); When I use "ws://46.36.36.121:8182/gremlin" instead of "ws://localhost:8182/gremlin" from my local machine I get the same "Could not alias [g] to [g] as [g] not in the Graph or TraversalSource global bindings" error. Miroslav. On Thursday, January 7, 2021 at 5:08:12 PM UTC+1 HadoopMarc wrote:
|
|