@crisant Right away I don't recommend the blank Arduino IDE "New Sketch" without something for it to do, such as a delay(100);.
People have found that they cannot connect afterwards because of the short scan time not allowing any other activity!
I made this sketch to test that the board is working by printing to the serial port:

//words preceded by "//"" are comments and are not executed bool ticktock; //declare ticktock as a boolean flag void setup() { //runs once on start up Serial.begin (115200); //open the serial port for USB cable } void loop() { //runs in circles! ticktock = !ticktock; //every pass through reverse the flag if (ticktock) { //test current value of the ticktock flag Serial.println("tick"); } else { //prints one or the other to the USB port Serial.println("tock"); } delay (1000); //wait for a second and run again! }

I went to their GitHub repository for uploading instructions and they are different than a normal ESP32
https://github.com/LilyGO/ESP32-Paxcounter#uploading
so try following their ESP32 with LORA instructions

Also when you pull down the board type menu in Arduino IDE where you select your board type, there is also the available ports.
Check to see that the USBmodem is stable.
Sometimes when I get the Failed Uploading error I have to reboot my computer. This has been a "bug" I have faced for years.
-Terry