According to Manual coding of PsychoJS studies — PsychoPy v2022.2.2 generating JS code is a one way street and cannot be converted back to the builder, but is there another way to run the experiment locally? In the coder I can load my JS code but the ‘Run Experiment’ button is greyed out.
Due to IT bureaucracy I’m not able to properly link between the builder/coder and Pavlovia and thus am at a bit of an impasse for running this experiment on a non-online computer. Any suggestions appreciated.
You can run the PsychoJS-Experiment locally with any kind of local web server.
I am not sure about your specific situation but:
If you have a correct Builder PsyExp Experiment and you just not able to push to Pavlovia, try open the Runner (Play button with little list in it) and then press the Play Button with the little Bug in it). This opens a local web server.
So normally you have the Builder PsyExp Experiment and generate PsychoJS code from it (normally an index.html and the .JS-Code of the Experiment).
In any case if you add the required lib-Files (specified in the index.html file) to a local folder /lib/. (the builder does this if you choose “Export to HTML” in the File menu.
But I would encourage you (if you havent done extensive custom JS-Coding in your project) to just rebuild a Python focused Builder experiment with automatic JS Code Conversion to run a Python based offline version of your experiment.