That does sound like there's some issue with the power supply... You could try adding a capacitor onto the Espruino board across where the power supply attaches.
Have you connected the power supply as in the image above? If you connected it to the actual battery JST connector then there's a 1A self-resetting fuse that could be causing problems.
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.
That does sound like there's some issue with the power supply... You could try adding a capacitor onto the Espruino board across where the power supply attaches.
Have you connected the power supply as in the image above? If you connected it to the actual battery JST connector then there's a 1A self-resetting fuse that could be causing problems.