Hmmm, Well actually it is pretty simple compared to other SDK’s
Try maybe to do a more simple program like “Blink” then and see if that yield’s any better outcome.
IMO this stuff is way more simple and the tools available are amazing if you learn or know how to use them. I come from an assembly code era, Z-80’s , 8086, 6805, 68K, etc. and there really wasn’t an Internet filled with Info at your finger tips by just asking of searching.
but “you do this all day” so not telling you what you probably already know.
Also from what info you offered, it’s telling you the ports are the issue. Hardware or software from what I see. have a look at this ,HERE, esptool.py version may need an update or roll-back to work, YMMV
post more of what you have tried and others will comment if they see something for certain.
No windows laptop to test with anywhere? Is that on purpose? LOL
HTH
GL