react-youtube
react-youtube copied to clipboard
Uncaught TypeError: (0 , _debug2.default) is not a function - error in console
Just made like in basic usage and got this error.
Do you have any suggestion what the reason is. How it can be resolved?

Webpack is giving you an error: the default import of the debug2 package is not a funtion, I'm not familiar with debug2 and without seeing the code i'm not sure where or how debug2 is being imported and called.
If I had to guess you might be using an older version of some dependency/build tool which may be causing this issue?