You are right... I forgot that the Dark Matter Detector also produced energy.
I try again using your advice! Thanks!
I think it's best, since this was part of the design, to leave it as is and either to put warnings messages or have some buildings upgrades or even the buildings themselves lock other building's construction to avoid walking dead situations.
Actually as it is now the building construction "selection" make the game more strategic.
I am updating the HTML version very shortly, hopefully, this will not affect your experience. We found a few bugs and typos and fixed them earlier today. The Windows version is updated (Ver 1.0.7) should be latest. itch.io seems to have problems unzipping my HTML at the moment so I will keep trying. Let me know if that bothers you and I will do it some other time.