cancel
Showing results for 
Search instead for 
Did you mean: 

Error in driver when using nodejs with neo4j

somiya
Node

somiya_0-1660911638842.png

somiya_1-1660911660551.png

When using Node.js with neo4j when .js file is created and local is tries to get data from neo4j using username and password it shows error saying cannot read properly 'driver'.

In this the neo4j Database should be of local database or neo4j aura db?

1 REPLY 1

Hello Somiya, 

Try that same thing again after the following change:

var neo4j = require('neo4j-driver').v1
var neo4j = require('neo4j-driver')

If that fails, please share your node version, and driver version.  

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

On November 16 and 17 for 24 hours across all timezones, you’ll learn about best practices for beginners and experts alike.