The wifi code is not supposed to be stored in the flash. start with reset(), then save() to empty what you have stored. Then ensure you have a wifi connection. Then wifi.save(). Then restart and make sure it comes up again and connects. Then load your code (without wifi commands) and save() it.
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.
The wifi code is not supposed to be stored in the flash. start with reset(), then save() to empty what you have stored. Then ensure you have a wifi connection. Then wifi.save(). Then restart and make sure it comes up again and connects. Then load your code (without wifi commands) and save() it.