Proponents of a primarily solar + wind grid are betting on a breakthrough in energy storage. If that breakthrough does not transpire, we'll either have to give up on stopping carbon emissions or use nuclear power.
1. https://www.researchgate.net/figure/Overnight-Construction-C...
There's a reason why plans for a primarily renewable grid assume that compressed air, synthetic ammonia, giant flywheels, or something else will provide storage for orders of magnitude cheaper than batteries: because existing storage systems aren't capable of meeting the storage demands of intermittent generation. Will one of these systems deliver a storage breakthrough? Maybe. But it's not wise to bet the future of your electrical grid on a technological breakthrough that hasn't happened yet.