If you have tried:
Deleting ‘Binaries’, ‘Intermediate’, and ‘Saved’ folders
Right click on ‘.uproject’ file and clicking on ‘Generate Visual Studio Project Files’
Double clicking on the ‘.uproject’ and hitting yes to build
If the above hasn’t worked, then it could be an issue with c++ code. It logs the error in the ‘Saved->Logs’ folder. I just solved my issue by fixing my compiler errors this way. then you can try deleting the above folders and building again and it all worked for me. I don’t know what your specific problem is though.