Just to construct some massive structure in space is a monumental challenge. Every ton of solar panels or support structure needs some bus to get it to the right orbit and maneuver it in place. Even if you assume fully automated construction you need buses for all the construction robots and tankers to refuel them. Any collisions could scrap the whole project by making a debris cloud in the same orbital plane as the relatively fragile solar panels.
That all ignores the sourcing of raw materials, finished components, fuel, and buses to flit everything around. The "easy" answer is "use in-situ materials". In-space mining, refining, and fabrication are all entirely unsolved problems. Even the cheapest vapor ware SpaceX heavy lift rocket isn't cheap enough to build a space based solar plant with components from Earth.
The technical difficulty and cost would be ridiculous compared to just building ground based renewables. Ones of billions of dollars will get you gigawatts worth of off-shore wind power or ground based solar.
Unless you have access to literal magic there's no situation where space based solar ends up more efficient or cheaper than ground based renewables. The capital expense is literally and figuratively astronomical.