Neo4j driver node JS

Good morning everyone
i'am trying to connect my nde js programe to neo4j by writing this programe below but not working

const neo4j = require('neo4j-driver')
const driver = neo4j.driver("bolt://localhost:7687", neo4j.auth.basic("karim", "karim"))
const session = driver.session()

try {

const result =  session.run(

  'MATCH (n:Resource) RETURN n LIMIT 1'

)

console.log(result)



const singleRecord = result.records[0]

const node = singleRecord.get(0)



console.log(node)

} finally {

session.close()

}

// on application exit:

driver.close()