Uncaught TypeError: nodesSelection.exit(...).transition is not a function
See original GitHub issueWe’re getting this error on v4.1.5:
graph-view.js:693 Uncaught TypeError: nodesSelection.exit(...).transition is not a function
at RadiumEnhancer.GraphView._this.renderNodes (graph-view.js:693)
at RadiumEnhancer.GraphView._this.renderView (graph-view.js:790)
at RadiumEnhancer.render (graph-view.js:929)
at RadiumEnhancer.render (enhancer.js:265)
at finishClassComponent (react-dom.development.js:13085)
at updateClassComponent (react-dom.development.js:13047)
at beginWork (react-dom.development.js:13715)
at performUnitOfWork (react-dom.development.js:15741)
at workLoop (react-dom.development.js:15780)
at HTMLUnknownElement.callCallback (react-dom.development.js:100)
This does not happen on this commit of the fork: https://github.com/vicapow/react-digraph/tree/d3-as-direct-dependency-dist
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
d3 transition is not a function - Stack Overflow
I am having a problem with my D3 code. const hexagon = this.hexagonSVG.append('path') .attr( ...
Read more >Enter/Leave & List Transitions - Vue.js
Vue provides a transition wrapper component, allowing you to add entering/leaving transitions for any element or component in the following contexts:.
Read more >Uncaught TypeError | Is Not A Function | Solution - YouTube
Have you encountered an error like:- Uncaught TypeError - Some selector is not a function - jQuery is not a function - owlCarousel...
Read more >Transitions - Material UI - MUI
transition : A CSS transition value, which composes all CSS properties that should be transitioned, together with the defined duration, easing and delay....
Read more >Common Issues | Swup
Swup waits for any element with class transition-[something] to finish the ... In case the styles are missing and the element does not...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @ajbogh, I started writing a simple app using this component and I ran into the exact same issue that @NameFILIP mentioned above. I started investigating and found something very interesting - if I clone this (react-digraph) repository “as-is”, build it with
yarn install
and then try and run the example withyarn run example
ornpm run example
- it reproduces the issue! However, what is weirder than that is that if I take this exact same repo and install dependencies withnpm install
then the same example works!Moreover, if now I go to my own app (which has it’s dependencies installed with
yarn install
) and runnpm install
instead - then my app starts working… Can you think of any reason for this behavior? Which packages are resolved differently?@NameFILIP Thanks for testing out v4.1.6. I’ve fixed this issue with yarn by upgrading d3 to v5 in v4.1.7. For some reason yarn didn’t work correctly with v4.13.0. I’m hoping that upgrading to v5 doesn’t negatively impact anyone.