What Altera Quartes toolchain and its version are recommended to build VTA from scripts

HI All,

Does anyone can give me some suggestion regarding which Altera quartes version should I pick to build VTA from provided scripts for de10-nano?

I tried with quartes prime pro 19.1 and 21.1, they all gave me tones of error when generating quartes project from compile_design.tcl and soc_system.tcl. I am wondering is there a specified quartes version has to be used.

Thanks in advance!