I am working on developing a psychoPy experiment and have converted it to psychoJS to render it as an online experiment.
While debugging it locally, I find that the converted .js (created by psychoPy builder) file has a import module as follows
import * as stats from ‘scipy/stats’;
This does not run locally and throws the following exception
Uncaught TypeError: Failed to resolve module specifier “scipy/stats”. Relative references must start with either “/”, “./”, or “…/”.
How to solve this problem ?