Brownout detector was triggered
is being generated by your ESP32 because there is a problem with the Vcc power to the module.
Check the following:
Your USB cable. Some cables are just plain cheap and can't supply the power the ESP32 needs. Get a better one.
Some PCs are not able to supply enough power from their USB ports to supply the ...