
This nearly happened in 2012
We were missed by a Carrington-class event by a mere six weeks in orbital terms.
Had this been a direct hit America and most of Europe would now be living in Bronze Age levels of technology because most of the essential devices we rely on can't be made to work without reliable electricity. (ie sewage processing, irrigation, water handling, food production).