Battles don't work on project Backported from MZ

Hi, I backported an MZ project and many things work fine however not battles.
Whenever I try to make a battle happen, even with newly defined test enemies and troops, I get the following javascript error, presumably something to do with animations (which I know are done differently in MV).

Can anyone help me? I really don't want to rebuild everything from scratch if there is a simple fix.
I notice in my imported project Animations don't play, unlike in a test project, so I presume some files need to be copied across to make this work.
Looks like I may have fixed it by copying data/Animations.json from a test project into my ported project.
MZ animations have no length attribute. You cannot use an MZ animations data file in an MV project. So yes, moving an MV animations file into your project should fix it.

The only exception could be an MZ animations file in which all the animations have the old MV format, but I don't know exactly.

Original thread: https://forums.rpgmakerweb.com/threads/battles-dont-work-on-project-backported-from-mz.153146/