I was trying to run the blink built-in example and suddenly I started getting this error. It used to run with no problem before that moment. I see there are only com3 and com4 ports available in my system before that I used to see com8.
The relevant part of your screenshot is the "no upload port found". It means that your board did not react on the software reset issued by the IDE.
Does COM3 disappear when you disconnect the board? If not, it's not the Arduino. Is it correctly recognised in Windows device manager? If Windows device manager does not see the board, you might be using a charge-only cable instead of a data/sync cable.
If COM3 is indeed the Arduino, a general solution is to double tap the reset button on the board when you see the message "Performing 1200-bps touch reset". Try that.
Which board are you using? I can see (I think) that it's one of the more modern Nanos (Iot, BLE, ...). I'm not familiar with those boards.
Thanks for your valuable suggestion, I installed the drivers by doing "add legacy hardware" for ports from the device manager. Also did the Arduino reset just like you suggested, and started working.