Esp32 not working

Sure there are a lot of things you can do.
If you want straight forward advice you have to provide more information straight forward.

The most important thing that you can do is provide sufficient information by answering questions

The more details you provide at once the more things can be checked at once
If you prefer short-messaging the result will be a looooong time taking thread.

Did you try with a different USB-Cable?
Provinding sufficient information is to write down more words than just
"Yes I did"
write "Yes I tried with another USB-cable" the result is:_________________

What exact board have you chosen in the Arduino IDE? Post a screenshot of your Arduino-IDE

Post a picture of the "not working" ESP32

For posting pictures you have to do a few things that are easy to do
You have to reach trustlevel 1 through these activities:

Get to trust level 1 by…

  • clicking on 5 different threads
  • reading 30 postings (they must have been visible on the screen
  • beeing a minimum time of 10 minutes in the forum

adjust the Arduino-IDE to print out most verbose details about the upload-process by like shown in this tutorial

best regards Stefan