/Users/yudhiesh/node_modules/use-neo4j/dist/index.js Module not found: Can't resolve 'neo4j-driver' in '/Users/yudhiesh/node_modules/use-neo4j/dist' #7
I am facing this error when importing the package:
/Users/yudhiesh/node_modules/use-neo4j/dist/index.js Module not found: Can't resolve 'neo4j-driver' in '/Users/yudhiesh/node_modules/use-neo4j/dist'
Code:
import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
import App from "./App";
import { Neo4jProvider, createDriver } from "use-neo4j";
ReactDOM.render(
<React.StrictMode>
<Neo4jProvider>
<App />
</Neo4jProvider>
</React.StrictMode>,
document.getElementById("root")
);
I did run npm i --save use-neo4j and the package was installed successfully installed.
I am facing this error when importing the package:
/Users/yudhiesh/node_modules/use-neo4j/dist/index.js Module not found: Can't resolve 'neo4j-driver' in '/Users/yudhiesh/node_modules/use-neo4j/dist'
Code:
I did run
npm i --save use-neo4j
and the package was installed successfully installed.Dependencies: