Cultivate wood and convert it to coal and oil through pyrolysis. Coal Liquefaction can be accessed early on, and Gleba crops can be cultivated in Space Age as well. The mod is highly configurable.
I need a bit more information than this! I think it's a mod interaction issue. Do you have any mods that add glass to the game? What version are you using? Are you on Factorio 2.0 or the 2.1 experimental branch?
All right, I should be able to upload a fix later today. It would seem that AAI Industry changes the name of its own glass item ("glass") to that of Krastorio 2 ("kr-glass") when that mod is also installed, which leads to my mod not being able to find the item. I will create some better checks to avoid the crash and also improve the way that my mod chooses a glass item when several mods provide one.