neo4j, nodejs, session expire error, how to fix it?
问题 I was trying to use neo4j at backend. First I want to import csv to neo4j. (first tried to see how many lines csv file has) But having problem, the code is following var neo4j = require('neo4j-driver').v1; var driver = neo4j.driver("bolt://localhost", neo4j.auth.basic("neo4j", "neo4j")); function createGraphDataBase(csvfilepath) { var session = driver.session(); return session .run( 'LOAD CSV FROM {csvfilepath} AS line RETURN count(*)', {csvfilepath} ) .then(result => { session.close();