Kopia-ui not starting

Deleting the config files for kopia and kopia-ui fixes this issue temporarily, but kopia-ui stops running after I connect to a repository and the config files are populated again. Moreover, when it does run, I get a “failed to load” error five times.