@g_7, your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advise on) your project
See About the IDE 1.x category.
No surprise if the initialisation of the SD card fails.
I'm not familiar enough with ESPs to advise properly.