InvalidStateError

So, I was exporting my RPG Maker MV game, and when I tried to boot it up to make sure it worked, I get this.
upload_2018-2-8_15-24-15.png

Any clue on how to fix this? I don't know Javascript.
find the plugin responsible for that function (CanvasRenderingContext2D), for one thing.

do a broad search within the files for that name, and see what comes up.
That is not a plugin - it is in the core files.
do a broad search within the files for that name, and see what comes up.
Can you please tell me how to do that?
Ok, I figured it out. I thought "Exclude Unused Content" would just get rid of some files that weren't used, but it removed like half the game. So I just did it with the full content and it seems to work fine now.
Exclude Unused Content should just get rid of files that weren't used. However if you have plugins and they use resources, and they are not designed in a way that their resources are include when you check that box, you will have errors.

So you could potentially try Exclude Unused Content to keep your deployment size down, and then manually copy over any resources that are used by plugins.

Original thread: https://forums.rpgmakerweb.com/threads/invalidstateerror.91078/