Ok. I see. I reset my flash, put the wifi require in an onInit function, without actually connecting to the WiFi (since I need that at times only). It works now. I understand that the networkJS is a native inbuilt module and bundled with the firmware.
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.
Ok. I see. I reset my flash, put the wifi require in an onInit function, without actually connecting to the WiFi (since I need that at times only). It works now. I understand that the networkJS is a native inbuilt module and bundled with the firmware.
Thanks so much !