-
Hi! I'm trying to use Jspsych with NextJS. Problem is that jsPsych requires the window object to be correctly loaded. Do you have any suggestion? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hi @f-starace, As of version 7.0 jsPsych shouldn't be attaching anything to Our set up tutorial covers how to work with jsPsych as a module. Have you tried following that guide yet? (I'm converting this to a discussion instead of an issue). |
Beta Was this translation helpful? Give feedback.
-
@f-starace -- I'm curious what your experience was with using NextJS, and whether the dynamic parts of jsPsych worked pretty well (like dynamically changing the timeline). I started a separate discussion about that here: #3053 |
Beta Was this translation helpful? Give feedback.
Hi @f-starace,
As of version 7.0 jsPsych shouldn't be attaching anything to
window
.Our set up tutorial covers how to work with jsPsych as a module. Have you tried following that guide yet?
(I'm converting this to a discussion instead of an issue).