Yeah, I think everyone does this seldom.
It is always good to check output log, and sometimes it can be due to lack of some mudules projectName.Build.cs file or because you do not include something or forget to specify the class before the className
Good luck, and do not hesitate to ask others!