In my case the problem isn't the WiFi code.
I spent some time adding comments to my code until I isolated the lines that triggered the problem;
Line 3 was the culprit (I included the rest of the SPI configuration commands in case they are relevant)
var spi = new SPI(); spi.setup({mosi: B6 /* D1 */, sck:B5 /* D0 */}); oled = require("SH1106").connectSPI(spi, B8 /* DC */, B7 /* RST - can leave as undefined */, screenReady);
@Frank 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.
In my case the problem isn't the WiFi code.
I spent some time adding comments to my code until I isolated the lines that triggered the problem;
Line 3 was the culprit (I included the rest of the SPI configuration commands in case they are relevant)