If you don't want to use NodeMCU.Dx just use Dx instead.
I guess it's possible that the SD card code took a while to execute and that caused a watchdog timer to reset the board? It shouldn't really take that long to initialise though...
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.
If you don't want to use
NodeMCU.Dx
just useDx
instead.I guess it's possible that the SD card code took a while to execute and that caused a watchdog timer to reset the board? It shouldn't really take that long to initialise though...