That vanishing behavior is a classic case of power management conflict, wich is super common on these small development boards when you push the limits of the design. It is likely not a soldering mistake, as you mentioned it reads fine on USB power alone. What's probaly happening is a short or a massive voltage spike occurring when the LiPo is connected, and that spike is causing the ESP32 to reset or shut down its communication interface entirely. Since the board is tied into the USB circuit, when the processor crashes or restarts due to the power anomaly, the USB connection drops, making it look like the board just vanished.
On most of these cheap kits, the power-up sequence isn't handled robustly, especially when mixing power sources. When you plug in the battery, even if the LiPo voltage is regulated, if there's any slight fluctuation or if the charging circuit tries to engage simultaneously with the flight controller running off both, it can cause instability. Because the board is tiny and integrated, even a small power draw spike can trigger a brownout condition that takes the device offline.
Before you start mounting motors, check the power rail inputs. Even if the connector seems right, sometimes the pads are designed to handle one input or the other, or maybe there's a shared power rail that is experiencing transient current draw issues. If you can, isolate the power sources completely during initial testing. First, get the flight controller running and stable on USB. Once that is verified, then try powering it solely from the LiPo, and see if the communication stays alive. If it stays alive on battery power alone, you've confirmed it's a multi-power conflict.
If you want to try to fix it before proceeding, you may need to manually disconnect the charging or power-in-use pins on the breakout board if it has separate entries for USB power and LiPo power, ensuring that only one path is active when you're trying to flash or run the firmware. This is basically just forcing the board to use a cleaner, single power path for testing.