Hello,
clock needs manual translation. Usually PsychoPy translates everything to PsychoJS to run offline and online (Code type auto). Set the Code type to both and edit the JS-side. It looks like you did this but not in the proper manner. Your manual editing resulted in incorrect JS. See wakecarter’s crib sheet on how to solve those problems.
When you try to push (sync) the experiment to Pavlovia, you should see an error in the Runner window in your case.
BTW, it is best to open a new thread after it had been “solved”.
Best wishes Jens