react-youtube icon indicating copy to clipboard operation
react-youtube copied to clipboard

Uncaught TypeError: (0 , _debug2.default) is not a function - error in console

Open oleksandr-dubrovskyi-itcraft opened this issue 7 years ago • 1 comments

Just made like in basic usage and got this error. Do you have any suggestion what the reason is. How it can be resolved? trace

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?

tjallingt avatar Aug 01 '18 08:08 tjallingt