It might be the ESP32 has crashed for some reason. The IDE will say it couldn't get the board info if the board is unresponsive.
You could try connecting with some other terminal program and seeing if you have any joy.
@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.
It might be the ESP32 has crashed for some reason. The IDE will say it couldn't get the board info if the board is unresponsive.
You could try connecting with some other terminal program and seeing if you have any joy.