Open
Description
In my Ubuntu 18.04.01 Server Edition I git cloned redisgraph.js
and tested it:
marco@pc01:~/redisgraph.js$ npm test
> [email protected] test /home/marco/redisgraph.js
> mocha --exit
RedisGraphAPI Test
✓ test bring your client
✓ test Create Node
✓ test Create Labeled Node
✓ test Connect Nodes
✓ test Query
{"id":0,"label":"person","properties":{"age":34,"name":"roi"}}
{"id":0,"relation":"knows","srcNode":0,"destNode":1,"properties":
{"nullValue":null,"boolValue":false,"doubleValue":3.14,"since":2000,"place":"TLV"}}
✓ test query full entity
✓ test multi thread
7 passing (16ms)
But when running the example:
marco@pc01:~/redisgraph.js/examples$ ls -lah
total 24K
drwxrwxr-x 3 marco marco 4.0K May 29 18:00 .
drwxrwxr-x 8 marco marco 4.0K May 29 17:59 ..
drwxr-xr-x 7 root root 4.0K May 29 18:00 node_modules
-rw-r--r-- 1 root root 1.4K May 29 18:00 package-lock.json
-rw-rw-r-- 1 marco marco 325 May 29 17:58 package.json
-rw-rw-r-- 1 marco marco 687 May 29 17:58 redisGraphExample.js
marco@pc01:~/redisgraph.js/examples$ node redisGraphExample.js
TypeError: row.split is not a function
at Statistics.getStatistics (/home/marco/redisgraph.js/examples/node_modules/redisgraph.js
/src/statistics.js:21:22)
at Statistics.getStringValue (/home/marco/redisgraph.js/examples/node_modules
/redisgraph.js/src/statistics.js:9:15)
at Statistics.getFloatValue (/home/marco/redisgraph.js/examples/node_modules
/redisgraph.js/src/statistics.js:35:20)
at Statistics.queryExecutionTime (/home/marco/redisgraph.js/examples/node_modules
/redisgraph.js/src/statistics.js:64:15)
at graph.query.then.then.then.then.res (/home/marco/redisgraph.js/examples
/redisGraphExample.js:23:35)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
Any hints to solve the problem?
Marco
Metadata
Metadata
Assignees
Labels
No labels