Solar is not environmentally friendly.
That’s an engineering problem.
Unless we cannot move atoms around on a technology to make it better, it all comes down to engineering.