Unable to compiled JS to reflect recent edits

URL of experiment: https://run.pavlovia.org/QxF/ug-mood-online

Description of the problem:

This task is currently developed on PsychoPy v2022.2.2

My task is running smooth locally, and compiling JS on Builder does not return any error. However, I don’t see the new edits I made in the JS file. Python part is being updated, complied and synched correctly, but the JS part is somehow lagging.

I have tried cleaning my browser history, restarting PsychoPy and Builder view.

Thank you very much for your help.

Try an incognito tab or Ctrl-Shift-R.

Dear wakecarter,

I think my problem is that my JS compile doesn’t reflect the latest Builder edits I made. On Gitlab, it still shows the version that I had last week.

Incognito tab and Ctrl-Shift-R didn’t fix the problem.

Should I update my PsychoPy version?


If it doesn’t update the JS file on Gitlab then it probably isn’t updating the local JS file due to a compilation error or if you have turned off compile to JS on sync.

It probably won’t be fixed by updating your version.

Issue found: I passed allowed keys as a variable in the Builder, and that created a problem for JavaScript compile. I changed allowed keys to constant and now everything is compiling normally.