You needed to establish a neutral connection. Everything does not work as you intended because you initially made a mistake in the chain. It's a good thing you didn't set fire to anything. Otherwise, the situation would have been entirely different. I hope you have already connected it. I recently had another problem. I bought a standard lantern for my son's flagpole at a hardware store near the house. And it started flashing just a week later, as my son told me. Then it was raining, and I already thought that I had not made insulation everywhere...But it turned out that it was the light bulb itself. My son has already bought himself an LED flashlight. I'm sure it will definitely hold more than the previous one. He purchased it here
https://www.amazon.com/Flagpole-Energy-Battery-Illumunation-Vont/dp/B00YBDA7DC/ . Now we don't trust that hardware store.