Skip to content
Discussion options

You must be logged in to vote

The error you're getting is related to jsPsych not finding the stimuli files for your trials. In your prime and test trials, the values of the stimulus parameters are jsPsych.timelineVariable('prime_stimuli') and jsPsych.timelineVariable('test_stimuli'). However, you need to give the jsPsych.timelineVariable function the name of the key (property) that contains the stimulus file name inside each of the objects in your timeline_variables arrays (prime_stimuli and test_stimuli). That object key is called "stimulus" in both of your timeline_variables array, so for both your prime and test trials, you should change the stimulus parameter to jsPsych.timelineVariable('stimulus').

I hope that ma…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Cluster-Bomb
Comment options

Answer selected by jodeleeuw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants