Typically, when a cake recipe calls for beer, you can replace it with brewed coffee, carbonated cola, seltzer, or ginger ale. I’ve only made these cakes with porter or stout, but root beer could also work well as a non-alcoholic option.