When price is comparison is done, does it account for lifespan difference, a nuclear reactor last 60 year vs 20 for wind and solar. That can already triple price of the renewable.
Does it account, that you should build extra capacity of many time what you need because not all the same regions have the same wind and sun exposition at the same time? You can look how oversize is the installed capacity of Germany [1] compared to France.
Also, I'm not sure for the US but the EU got its solar panel production wiped out by the heavily subsided Chinese industry. So the rather lower apparent cost of solar by might be partially driven by the Chinese attempt to pump money in to gain market share.