Hi, I just went to the exactly same problem. The problem is the alternator. These cars rely too much in electronical parts that need precise voltage in order to work properly; when the alternator is not working, these parts go after battery power to keep working, but, because the alternator is not working correctly and not charging the battery either, the battery will drain and it will cause a complete failure; with all the warning lights turning on and off, flickering until the car turns off.
The best you can do, If you can still start the car, go directly to a repair shop and be ready to get a new alternator and probably a new battery (they can try to recharge the battery but make sure it is done in a battery charger and not with the new alternator, that will stress him and shorten its lifespan.).