Description of the problem:
After trying to pilot the n-back experiment on pavlovia.org, these errors come up as I enter the 1st trial loop, which then creates a 404 error immediately aborting the experiment.
This is the “TypeError: pos is undefined” that occurs on Firefox.
I am unable to upload another image to show the experiment flow, but the error probably occurs around the ‘// Initialize components for Routine “N_back_1_Trial”’ portion of the “n-back.js”.
The software platform is PsychoJs, the platform version is 2020.1. My partners have suspicions that the errors are because of the “.xlsx” files used as the experiment conditions.
Solved: I have a test build of the experiment here:
The change I’ve made was in the condition’s “.xlsx” file like so:
As you can see I’ve spilt the original “location” column into two separate columns. The TypeErrors were most likely caused by the square brackets in the original. I’ve also updated the appropriate properties like so:
Hope this will help those who have this problem in the future.