Where did you write the require-statement?
require
require("xxx") only works on the right side of the Espruino Web IDE. Written on the left it will produce your mentioned error
require("xxx")
ERROR: SD card must be setup with E.connectSDCard first
@luwar 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.
Where did you write the
require
-statement?require("xxx")
only works on the right side of the Espruino Web IDE. Written on the left it will produce your mentioned error