I selected a project folder and the modules folder was created there by IDE. I copied my scada.js folder into it.
Require module in my js file.
const ScadaJs = require("scada.js");
And I've got a problem, that IDE search this module online instead of local folder.
ERROR: getURL("https://www.espruino.com/modules/scada.js.js") error : Not Found WARNING: [notify_warn] Module scada.js not found
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I selected a project folder and the modules folder was created there by IDE. I copied my scada.js folder into it.
Require module in my js file.
And I've got a problem, that IDE search this module online instead of local folder.