-
in order for the module to be available, the webIde does some background magic, it auto downloads the module from github and sends it to the device, if you upload some code that uses it.
You cannot just connect to a "fresh" device from the web ide and do a "require("ST7789")" on the left side, the module will not be found.
place some code on the right hand side that calls "require("ST7789")" , then upload to ram, then you can use the "require("ST7789")" on the left hand side, the webIde will auto download the module for you.
for example, you can type
test=require("ST7789");
on the right hand side, and then upload this to a file named "test" in the flash using the webIde's "send to espruino" button.
Then, using the disk button on the webIde, you can view the "test" file you just uploaded, and you will notice that it also includes the module.
So, if you later reset(); and call this file from the left hand side,
require("Storage").read("test")
the module "ST7789" will be available on the left hand side, without the need for the loader to download it again for you.
I use esp32? apparently the module is found in my phone but not in my pc.