You are reading a single comment by @wolandec and its replies. Click here to read the full conversation.
  • 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
    
About

Avatar for wolandec @wolandec started