Problem powering up 2 NodeMCU´s and 8 * 12vRelays

I´ll try to explain this a bit better.

When i power these (the "normal way") without that 5V USB cable connected to the NodeMCU (A), it starts both NodeMCU´s just like it should, but without powering the relays.

But instead if I connect 5V power cable to the USB-port of the NodeMCU (A) controlling the relays, it usually only starts only relays and maybe the other NodeMCU (B), which doesnt control relays. It shows some led blinking on both NodeMCU´s though and really rarely it might even start up the whole setup.

And one more scenario. If i give external USB 5V power (from laptop for. ex.) to the NodeMCU (A) and let all the other devices use the normal powering, it starts everything every time just right.

Why doesnt those relays power up, if I start this setup the normal way without that USB 5V power cable connected to NodeMCU´s (A) USB-port?

And yes I tried that capacitor tip. 1000uf capacitors connected directly to Gnd and JD-VCC for the both relay sets (A and B) didnt help.

Does anybody know anything about this kind of behaviour?