Hi there!
Are you using the right version of the plugin acording to your RPG Maker version?
There are MV and MZ version of the plugin. So, once you make sure you are using the right one, tell me what RPG Maker version you are using.
Also, when the error happens, press F12 or F8 and show me a screenshot of the CONSOLE tab.