OS (e.g. Win10): windows 11
PsychoPy version (e.g. 1.84.x): 2022.2.5
Standard Standalone? (y/n) NO - psychopy installed with pip to python 3.9.13
What are you trying to achieve?:
a = 1
returns on the JS side:
/* Syntax Error: Fix Python code */
Additionally, when attempting to us the ’ sync with web project’ button in builder, no .js file is automatically generated / pushed to gitlab - instead, the .js file must first be compiled using the ‘Compile to JS script’ button, then the project must be synced.
This last part is curious, because the entire builder script CAN be compiled to JS, suggesting its somehow just the inline component responsible for transpiling within a code component that is failing… but somehow js file compilation in the sync function is also separately affected.
What did you try to make it work?:
All of the issues described above are not present in the stand-alone version of psychopy, so this can be used as a work-around - however, it suggests there may be some missing dependency for the psychopy libraries when installed via pip.
If there are any ideas or suggestions on how to get the Auto>JS transpiler working for the pip installation, or what dependency might be missing, that information would be much appreciated!