Error: Input Power Pins not driven by any output power pins

Hi I have a issue I am making a project in which I have included the Arduino nano and 2 leds and 4 connector pins I have connect the positive and negative terminals of the components to the Arduino Nano but it is showing me this


Please help me out what should I do my friend

1 Like

You have to add the power flag.

You can watch here : https://youtu.be/A5uNG_jQ4qM?si=RLemmJ3N0IAEcZN8