thingdom/node-neo4j — Issue #10: npm test failes with Neo4J 1.5 and latest from github
Author: thomasfr
Created: 2011-11-15 15:01:22+00:00
State: open

Hi,
I tried exactly the steps from "Development" section from Readme. When i start the tests it fails:

neo4j-node/neo4j$ npm test

> neo4j@0.2.1 test /home/thomas/Projekte/Laboratory/neo4j-node/neo4j
> node test

UNCAUGHT EXCEPTION: The syntax for bound nodes has changed in v1.5 of Neo4j. Now, it is START a=node(), or START a=node:idxName(key='value').
"start n=(21) return n"
^
Error: The syntax for bound nodes has changed in v1.5 of Neo4j. Now, it is START a=node(), or START a=node:idxName(key='value').
"start n=(21) return n"
^
at /home/thomas/Projekte/Laboratory/neo4j-node/neo4j/lib/util_.coffee:14:10
at GraphDatabase_prototype_query__10 (/home/thomas/Projekte/Laboratory/neo4j-node/neo4j/lib/GraphDatabase_.coffee:180:11)
at main (/home/thomas/Projekte/Laboratory/neo4j-node/neo4j/test/cypher_.coffee_.js:65:10)

UNCAUGHT EXCEPTION: 405
Error: 405
at ___ (/home/thomas/Projekte/Laboratory/neo4j-node/neo4j/lib/Node_.coffee:272:11)
at Request.___ [as callback] (/home/thomas/Projekte/Laboratory/neo4j-node/neo4j/lib/Node_.coffee:1:887)
at Request. (/home/thomas/Projekte/Laboratory/neo4j-node/neo4j/node_modules/request/main.js:314:21)
at Request.emit (events.js:67:17)
at IncomingMessage. (/home/thomas/Projekte/Laboratory/neo4j-node/neo4j/node_modules/request/main.js:295:19)
at IncomingMessage.emit (events.js:88:20)
at HTTPParser.onMessageComplete (http.js:137:23)
at Socket.ondata (http.js:1125:24)
at TCP.onread (net.js:334:27)
at main (/home/thomas/Projekte/Laboratory/neo4j-node/neo4j/test/crud_.coffee_.js:124:0)

It seems that it doesn't work with the latest Neo4J 1.5?