Here's the output that I get when I run the minified code from terminal:
=undefined
Connected!
Uncaught Error: Field or method "connect" does not already exist, and can't create it on undefined
at line 1 col 86
...g("Connected!"),void client.connect())
^
in function called from system
If I paste the unminified code into the web IDE, it works.
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.
Here's the output that I get when I run the minified code from terminal:
If I paste the unminified code into the web IDE, it works.