Translating PsychoPy code to Javascript & general documentation

The problem as I mentioned earlier was this: I couldn’t run it on the local server because of the trialList file. As the thread mentions, it will only work on the psychopy server.

Now I am facing another issue :

  • TypeError: visual.Line is not a constructor

Which is quite similar to this. Unfortunately, the suggestions by @jonathan.kominsky don’t seem to work in this case.

PS: I feel I should really open new questions or at-least post the issues in a more specific question for better organization and searchability. Any opinions or say community guidelines?