"Unspecified Javascript Error"

URL of experiment: Pavlovia

Description of the problem: When running the experiment, some students get an “Unspecified Javascript Error” and I am not too sure what is going on since it is working perfect on my end. I have a screenshot of the error showing up on the web. Thank you.

The 404 error is not the problem.

Here are my suggestions for this error (from my crib sheet)

This error is very difficult to debug, but I have come across a few causes:

  1. a text element with a decimal size (e.g. .1) when the units are in pixels.
  2. setting an image as unspecified.
  3. Trying to run an experiment straight after syncing changes when there are lots of resources. To resolve this close and reopen the browser.
  4. Setting a property “during: ISI”.

If the experiment works on some browsers but not others try editing the index.html file directly to replace <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/5.3.3/pixi.min.js"></script>

with <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/pixi.js-legacy@5.3.3/dist/pixi-legacy.min.js"></script>