Also you might potentially be hitting a common Espruino pitfall.
If you're printing stuff to the console and then you power Espruino from your PC (without a terminal app running), Espruino will think there's a USB connection so will wait for the data it's sending to be received by the PC. Since nothing it reading, it'll stop executing when the buffer gets full - so after a few lines of text
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.
Also you might potentially be hitting a common Espruino pitfall.
If you're printing stuff to the console and then you power Espruino from your PC (without a terminal app running), Espruino will think there's a USB connection so will wait for the data it's sending to be received by the PC. Since nothing it reading, it'll stop executing when the buffer gets full - so after a few lines of text