I've unchecked 'Modules uploaded as functions (BETA)' and 'Javascript compiler' from the config. I'm not sure if they make any difference. But i get the following error and that line is part of MQTT.min.js file.
Uncaught Error: This socket is closed.
at line 1 col 58
...e(g(c.DISCONNECT<<4)+"\x00"),this.client.end(),this.client=!...
^
in function "disconnect" called from line 1 col 52
a.ctimo=void 0;a.emit("disconnected");a.disconnect()
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi @Gordon, Thanks for looking into it.
I've unchecked 'Modules uploaded as functions (BETA)' and 'Javascript compiler' from the config. I'm not sure if they make any difference. But i get the following error and that line is part of MQTT.min.js file.
I will try to post up the code soon.