Skip to content
Discussion options

You must be logged in to vote

Hi @JulietDunstone, this "Trial level node is missing the "type" parameter" error often happens when there's something wrong with the timeline. In your case, I think the problem is that the timeline variable is an array, but then you put it inside of another array in jsPsych.init, which turns it into a nested array. So you can just remove the square brackets around your timeline array:

jsPsych.init({
    timeline: timeline,
    ...

Does that work?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JulietDunstone
Comment options

Answer selected by JulietDunstone
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