cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Error in driver when using nodejs with neo4j

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.