One can account for those with more detailed optimization/simulation, and if you do so you find nuclear still doesn't compete.
Solar photovoltaic is so low thanks to its intermittency. The more solar you have as a percentage of the total production the more costly it gets. At the limit of 100% solar its SLCOE is about 4 times higher than nuclear (Fig. 3).
So, the availability and the quality (offshore wind is less variable, causes less backlash and so on) of wind power resources play a big role.
[1] https://www.sciencedirect.com/science/article/pii/S036054422...