If we knew something that had all the perks of oil and none of the disadvantages, we would be all hooked on it. All clean energy are trade-off's compared to oil.
Solar ? Short lifespan, land occupation, requires mining, the sun does not always shine, not much energy so you need a lot Wind ? Lifespan, much skill to build and to maintain, the wind does not always blow, not much energy so you need a lot Nuclear ? Big upfront cost, need skilled workforce to build and maintain Geothermal ? Big cost for not so much energy ?
All of those need a good grid too