Are you connecting to the Espruino Board or a Pico? And if it's the original Espruino do you have a voltage regulator on it?
The fact that getVersion isn't returning anything sort of implies that the module's crashed - and a brown out might be the cause.
@Gordon 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.
Are you connecting to the Espruino Board or a Pico? And if it's the original Espruino do you have a voltage regulator on it?
The fact that getVersion isn't returning anything sort of implies that the module's crashed - and a brown out might be the cause.