My psychojs code won't allow data to save in Pavlovia

Description of the problem: hey! i recently converted some javascript code into psychojs format to run an online experiment through pavlovia (i am very new to javascript/psychojs). while my experiment runs locally and in pavlovia, none of my data saves in pavlovia. experiments all fall under the “aborted” category (despite piloting/running the experiment to completion) and when i download the results, i get a completely empty folder. wondering if anyone may have any tips/suggestions that might help. for context, the saved data should include participant id and the urls visited by participants. i will attach my code. thanks in advance!
index (1).html.zip (2.2 KB)

Are your participants ending your experiment by pressing the escape key?

No - participants are just left on a “thank you for participating” page and should just be able to exit the browser tab.

I also tried adding a q press and same result of not saving. Here are some of the errors i get.


Closing the browser tab without ending the experiment will definitely lose the data.

Are you still using a 2020.2 version of PsychoPy?

yes - when i try other versions of psychojs, it won’t allow the experiment to run at all.

If you are able to install more recent versions of PsychoPy I would strongly recommend that you seek help with getting your experiments working in a more recent version.