You are reading a single comment by @AntiCat and its replies. Click here to read the full conversation.
  • I've a pretty large application consisting of 5 modules (loaded with require) and a main.
    I've enabled "Save on Send" and set "Minification" as well as "Module Minification" to "Closure Simple".

    The upload kind of succeeds but the execution fails with

    >Uncaught InternalError: NRF ERROR 9
     at line 1 col 7573
    ...bounce:50,repeat:!0})});\n");load();
    

    Further more the saved code is garbage:

    dump();
    // Code saved with E.setBootCode
    ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ...
    
    require("Storage").read(".bootcde");
    ="\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF....
    

    If reduce my code size by deleting functions, everything turns back to normal.

    Can this be fixed? I'm also happy with a solution where I upload the modules and the main separately.

About

Avatar for AntiCat @AntiCat started