It used to be that solar was as expensive as a gen so it was hard to afford both. You have to have a gen even if you get solar because the gen always works sunshine or not. So that meant no solar if you had to pick one or the other on a budget.
Now solar is much less expensive while gens still cost a bunch, so it is no longer one or the other. After you get the gen, you can get some useful solar for under $200 these days. eg a 150w panel for $160 (if you can pick it up yourself, no shipping) and a 20a controller for $30