Digging a bit around, this works and it's reliably working: Use espruino -o x.js MYPROGRAM.js and then upload the temporary output, which resolves all require() modules via wifi (nc ESP32IP 23 < x.js)
That proves at least that whatever the espruino command does, seems to work. The problem might be an intermittent reset caused by the serial port.
© Espruino, powered by microcosm.
Report a problem