I found that I had to wait a few seconds after startup to do the createServer() call - try putting that in a 5 second timeout.
@DrAzzy started
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.
I found that I had to wait a few seconds after startup to do the createServer() call - try putting that in a 5 second timeout.