Are modules broken for 1.41?

Posted on
  • I'm getting error messages when I try to use modules via Web IDE:

    ERROR: Unable to read file : NO_FILESYSTEM
    
    WARNING: Module not found
    
    ERROR: Using '.' operator on non-object at line 1 col 23
    
    require("Touchscreen").connect(function(­x,y)
    

    It's the same for other modules as well. I'm using Espruino on HY-Mini board.

  • Just checked on my STM32F4Discovery and it works fine with this:
    var t = require("DS18B20").connect(D8);
    console.log(t.getTemp());
    BTW, V1.41 is an old version, did you test actual version(V1.44) form nightly build ?
    https://espruino-nightly.noda.se/

    regards Jürgen

  • Hi JumJum I can not try the latest version because it appears to be broken on HY 3.2" board, more details in separate thread http://forum.espruino.com/conversations/­400/#comment4274

    After upgrading to 1x43 I got the modules working fine so it was something to do with old version. Thanks for your help!

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Are modules broken for 1.41?

Posted by Avatar for graf @graf

Actions