• I have litle bug i don`t understand ...

    function startDevice(){
      require( fs.item('Generalscript').module() );
      var Generalscript = require("Generalscript").Generalscript;
      var gs = new Generalscript();
      gs.getVer();
    }
    
    Uncaught Error: Both arguments to addCached must be strings
     at line 1 col 41
    Modules.addCached(this.k,this.toString()­),this.k;
                                            ^
    in function "module" called from line 1 col 42
    require( fs.item('Generalscript').module() );
                                             ^
    in function "startDevice" called from line 23 col 24
               startDevice();
                           ^
    in function called from system
    
About

Avatar for Aleksandrs @Aleksandrs started