Nobody has died from nuclear accidents. If we’re including workers falling off of roofs then we should include nuclear power plant workers dying from mundane industrial accidents which has happened in the US.
If we're going to do things that aren't power plants then aren't you going to get renewables in trouble for needing more raw materials per unit of generation from dangerous environmentally hazardous mining operations?
If we do that, we need to assign a value to a statistical human life. This is usually taken to be something like $12M (adjusted for age).
And having done that, we discover the contribution of lost lives to the cost of solar and wind (and nuclear, without accidents) is lost in the noise. So the problem ends up choosing the source that is directly cheaper; differences in deaths per TWh can be ignored.