Auto > JS transpiler not working in pip installation on python 3.9.13

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?:
When using a code component in ‘Auto>JS’ mode, nothing can be transpiled to javascript. for example, simply entering the line below on the python side:

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!