You want your main code to go in app.js and it sounds like you were putting the base64 image data in there instead, so maybe that's where your errors are coming from.
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.
You want your main code to go in app.js and it sounds like you were putting the base64 image data in there instead, so maybe that's where your errors are coming from.