I actually have this same problem. I get the same exact message as the OP. I’m also on a clean install of Windows 10 except I’m still running 1909. I haven’t upgraded to 2004 like the OP has. It only happens when it was trying to push the advertising for Kano. As soon as I closed the script error message that ad came up. It happened a few more times until the ad stopped pushing through.
Anyone know if they are working on a fix?