Module fs depends on module E (for SD card management). The physical SD card has to be connected by ie SPI.
I don't know what you are doing exactly, but there is the module File for streaming from and to files, too.
Perhaps http://www.espruino.com/File+IO#line=19,25 helps.
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.
Module fs depends on module E (for SD card management). The physical SD card has to be connected by ie SPI.
I don't know what you are doing exactly, but there is the module File for streaming from and to files, too.
Perhaps http://www.espruino.com/File+IO#line=19,25 helps.