psychopy.org | Reference | Downloads | Github

Core-, data-, util-, visual-, and sound-2020.2.js not being created

I have a fresh installation of Psychopy 2021.2.3 on a Ubuntu laptop and I’m trying to run an experiment in local debug mode but I can’t get past these errors:

Loading module from “http://localhost:12002/lib/core-2020.2.js” was blocked because of a disallowed MIME type (“text/html”).
Loading module from “http://localhost:12002/lib/data-2020.2.js” was blocked because of a disallowed MIME type (“text/html”).
Loading module from “http://localhost:12002/lib/util-2020.2.js” was blocked because of a disallowed MIME type (“text/html”).
Loading module from “http://localhost:12002/lib/visual-2020.2.js” was blocked because of a disallowed MIME type (“text/html”).
Loading module from “http://localhost:12002/lib/sound-2020.2.js” was blocked because of a disallowed MIME type (“text/html”).

Also, the files core-2020.2.js, data-2020.2.js, etc. are not being generated in the /lib folder, instead, I only get these files

image

I copied the .js files from an older experiment into the lib folder manually and now the local debug is running. Can I fix this so I don’t need to keep a backup copy of these files?

This must be a bug at our end. We changed the packaging system for PsychoJS in 2021.2 and obviously the system for setting up the local debug hasn’t been informed how to handle the download according to the useVersion setting

I’ll look into the fix today