PsychoPy task will not run when synced to Pavlovia (stuck at initialising)

What is the error message?

If it’s “illegal return” then there’s probably a stray bracket in your custom code.

Do you have any Both / JS code components which might have unbalanced brackets?