Skip to content
Discussion options

You must be logged in to vote

Hi @pablobernabeu,

It looks like you haven't initialized an instance of jsPsych yet using initJsPsych. This section of the migration guide explains what you need to do here.

// initialize jsPsych before calling any jsPsych functions
const jsPsych = initJsPsych()

(Adding this. before jsPsych is only necessary inside of plugin code. It is not needed in the main script file.)

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@pablobernabeu
Comment options

@jodeleeuw
Comment options

@pablobernabeu
Comment options

@pablobernabeu
Comment options

@pablobernabeu
Comment options

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