There's a rather disingenuous report circulating, making the claim that solar panels are much worse for the environment than nuclear power based on their output waste.
http://www.environmentalprogress.org/big-news/2017/6/21/are-we-headed-for-a-solar-waste-crisis
To be sure, e-waste is a valid concern, and this has been reported in the literature a number of times [1]. There are various ways to address this, from improvements in manufacturing to end-of-life recycling [2]. A number of states have passed legislation to deal with this issue, outside of federal guidelines; for example, see this 2011 USA Today article [3]. To look at a specific example, Vermont has recycling locations and prohibits sending certain items to land fills [4], though it makes no mention of solar panels.
The EPA has rather specific guidelines on what constitutes hazardous waste [5]. Following the Toxicity Characteristic Leaching Procedure aka TCLP process, a product will be prepared for testing (this differs for solid and liquid items) [6], and then toxins will be measured against the chart in ยง261.24 of [5]. For the most part, solar panels pass this test. (There is some minor technical commentary on the process in [7] that is worth reading). California, which generally has stricter environmental regulations than other states, has it's own hazardous waste guidelines which classifies CdTe (cadmium telluride) solar panels as hazardous waste, but not any other kind of solar panel. [8] (And [8] eloquently discusses in-depth the various issues outlined here, it's worth reading on it's own).
Nuclear power has its uses, just as solar power has its own; there are reasons to use one over the other under different circumstance. But nuclear power introduces a number of complexities that solar power avoids: political costs, national security concerns, natural disaster concerns. It also has immediate health concerns, which is why the waste is regulated; the article implies this is a benefit of nuclear power. Ignoring these costs to make a frivolous comparison is disingenuous fear-mongering.
[1] http://spectrum.ieee.org/green-tech/solar/solar-energy-isnt-always-as-green-as-you-think
[2] https://web.stanford.edu/group/sjir/pdf/Solar_11.2.pdf
[3] http://usatoday30.usatoday.com/tech/news/2011-01-04-e-waste_N.htm
[4] http://dec.vermont.gov/sites/dec/files/wmp/SolidWaste/Documents/AdoptedECyclesStateStandardPlan.pdf
[5] https://www.ecfr.gov/cgi-bin/text-idx?SID=35c42d5c575a025bf52641a1bf1d260d&mc=true&node=pt40.26.261
[6] https://www.epa.gov/sites/production/files/2015-12/documents/1311.pdf
[7] http://www.clca.columbia.edu/papers/Life_Cycle_Impact_Analysis_Cadmium_CdTe_Photovoltaic_production.pdf
[8] http://digitalcommons.law.ggu.edu/cgi/viewcontent.cgi?article=1064&context=gguelj