Wemos d1 mini pro will not connect when powered via 5v pin

Definitely sounds like a problem with your 5V power supply. What can you tell us about that? Might be worth trying a large cap, e.g. 100uF+, to the 5V pin close to the Wemos.