• VERSION: "2v04", GIT_COMMIT: "3956264e", BOARD: "MDBT42Q",
    FLASH: 524288, RAM: 65536, SERIAL: "3700071-fa641234", CONSOLE:
    "Serial1", MODULES: "Flash,Storage,hea" ... "S,crypto,neopixel",
    EXPTR: 536882364 }

    var res=process.memory();
     console.log("Memory free - " + res.free);
     if(res.free<2000)
     {
       LED1.write(true);
       console.log(ScanResault);
       require("Storage").write("Test",JSON.str­ingify(ScanResault));
       console.log("write");
       GetData = JSON.parse(require("Storage").read("Test­"));
       console.log("JSON.parse");
       ScanResault.length=0;
       console.log("Clear Array finsih");
       console.log(ScanResault.length);
      }
    

    when I run the code
    I get error that

    Uncaught Error: Unable to find or create file
     at line 35 col 63
    ...JSON.stringify(ScanResault));
                                  ^
    in function called from system
    > 
    

    but when I run list I can see the file

    console.log(require("Storage").list());
    [
      "Test",
      ".varimg"
     ]
    =undefined
    

    maybe this is my problem?

    and how could it be ?

About