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

Add d3-drag fixing next.js error #1 #557

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add d3-drag fixing next.js error #1 #557

wants to merge 1 commit into from

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.

None yet

1 participant