TypeError: Cannot read properties of undefined (reading '_psychoJS')

URL of experiment:

Description of the problem: Trying to run experiment from builder on Pavlovia and this error occurs. It is in my Sound.JS constructor and I have no idea what is causing it. Here is what is in my builder and then in my browser. Any help would be appreciated!



Screen Shot 2024-01-18 at 4.04.29 PM

I always use sound components for sounds, not code. Once the component has been created it can be played using code.

When I create the sound component in the builder, I get AttributeError: ‘SoundPTB’ object has no attribute ‘isFinished’ - I am not sure how to resolve this. Additionally, I am trying to have my sound file play across multiple routines.

Check whether the attribute.status ==FINISHED

Use. .play() to play a sound component in a later routine