I am trying to pilot test my experiment. However, I am having “TypeError: Cannot set property ‘keys’ of undefined” for the key press responses in js. Can anybody help me about it?
the line that i am having the error is as below:
It looks like that’s in a code component, and there are two different things called “skip_instructions”? One is a keyboard component, the other is an array. You shouldn’t define skip_keys in your code (the line “var skip_keys = []” in your JS code should be removed).
However it also looks like your JS code and your experiment might be out of sync. Do you get errors in your run window when trying to sync to Pavlovia?