Why did you swap the order of the lines around? Try:
var s = new SPI(); s.setup({mosi:NodeMCU.D13, miso:NodeMCU.D12, sck:NodeMCU.D14}); E.connectSDCard(s, NodeMCU.D4);
it might help...
@Gordon 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.
Why did you swap the order of the lines around? Try:
it might help...