Skip to content

Conversation

karpinski1994
Copy link

@karpinski1994 karpinski1994 commented Mar 9, 2023

When I tried to use this library with next.js 13+ I got the following error:

./node_modules/react-d3-graph/lib/components/graph/Graph.js:10:0 
Module not found: Can't resolve 'd3-drag'

Manually installing this dependency inside the package (node_modules/react-d3-graph) fixes it. I'm not sure wheter it is the best solution.

More details in the issue:
#556

When I tried to use this library with next.js 13+ i got the following error:
./node_modules/react-d3-graph/lib/components/graph/Graph.js:10:0
Module not found: Can't resolve 'd3-drag'

Manually installing this dependency inside the package (node_modules/react-d3-graph) fixes it.
I'm not sure wheter it is the best solution.

More details in the issue:
#556
@karpinski1994 karpinski1994 closed this by deleting the head repository Mar 9, 2023
@karpinski1994 karpinski1994 reopened this Mar 9, 2023
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

Successfully merging this pull request may close these issues.

1 participant