Issues Running Basic Hello World Experiment Online – psychojs-2024.2.1post4.js Not Loading Properly

I’m trying to run a very basic “Hello World” experiment online, but I’m facing some issues.

  1. Localhost Issue: The experiment is not working locally. The issue seems to be with a file called psychojs-2024.2.1post4.js. Instead of being a JS file, it appears as HTML code. This causes errors when index.html tries to load it as a JS file.
  2. Pavlovia Issue: When I try to run the experiment from Pavlovia, I encounter another problem. The lib folder does not seem to sync to Pavlovia, so when index.html tries to access ./psychojs-2024.2.1post4.js, it can’t be found.

Setup Details:
PsychoPy v.2024.2.1post4

Any help or guidance to resolve these issues would be highly appreciated!

This should be fixed in PsychoPy 2024.2.2 or you can install the Python 3.8 version of 2024.2.1

Thank you!
I downgraded to version 2024.2.1, and everything is working perfectly now.