react-svg: Uncaught TypeError: Cannot read property 'replaceChild' of null(...)
Getting this error when using this package. Possible conflict with the YouTube Player API?
index.js:541 Uncaught TypeError: Cannot read property 'replaceChild' of null(…)
(anonymous function) @ index.js:541
loadSvg @ index.js:256
injectElement @ index.js:399
SVGInjector @ index.js:599
updateSVG @ index.js:132
componentDidUpdate @ index.js:122
invokeComponentDidUpdateWithTimer @ ReactCompositeComponent.js:75
notifyAll @ CallbackQueue.js:71
close @ ReactReconcileTransaction.js:85
closeAll @ Transaction.js:208
perform @ Transaction.js:155
perform @ Transaction.js:142
perform @ ReactUpdates.js:94
flushBatchedUpdates @ ReactUpdates.js:177
closeAll @ Transaction.js:208
perform @ Transaction.js:155
batchedUpdates @ ReactDefaultBatchingStrategy.js:67
enqueueUpdate @ ReactUpdates.js:205
enqueueUpdate @ ReactUpdateQueue.js:29
enqueueSetState @ ReactUpdateQueue.js:214
ReactComponent.setState @ ReactComponent.js:68
onHeroReady @ HeroBGVideo.jsx:68
YouTube._this.onPlayerReady @ YouTube.js:104
Sister.sister.trigger @ sister.js:53
events.(anonymous function) @ YouTubePlayer.js:43
g.I @ www-widgetapi.js:80
g.l @ www-widgetapi.js:114
g.J @ www-widgetapi.js:132
W.g @ www-widgetapi.js:124
Jb.f @ www-widgetapi.js:100
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 1
- Comments: 24 (12 by maintainers)
Now everything works great. Thanks for your efforts!
@tanem Thanks so much, it works like a charm now!