Initially the issue was
circuitikz.sty was missing. Then I tried to update package from MiKTeX console
package option and I got the error
SSL connect error
and the code was
Also the Texstudio has stopped the compilation. This is becoming a notorious problem for my purpose. Any sort of suggestion is welcome!