Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

neo4j-driver required even for postgres/agensgraph users #36

Closed
alexgarbarev opened this issue Jun 2, 2020 · 2 comments
Closed

neo4j-driver required even for postgres/agensgraph users #36

alexgarbarev opened this issue Jun 2, 2020 · 2 comments

Comments

@alexgarbarev
Copy link
Contributor

I'm running app using Postgres database, and once dependencies moved to peer dependencies, my app won't start until I install neo4j-driver manually to my app.

Is it possible to import neo4j related modules, only if neo4j-driver installed?

Error: Cannot find module 'neo4j-driver' 
Require stack: 
- /node_modules/@liberation-data/drivine/mapper/Neo4jResultMapper.js 
- /node_modules/@liberation-data/drivine/connection/Neo4jConnectionProvider.js 
- /node_modules/@liberation-data/drivine/connection/ConnectionProviderBuilder.js 
- /node_modules/@liberation-data/drivine/connection/DatabaseRegistry.js
@jasperblues
Copy link
Member

This is a duplicate of #30

@alexgarbarev
Copy link
Contributor Author

oops, that's right..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants