Cant Access C++ classes

After merging my c++ class into the master branch of my github repo , all BP classes derived from any c++ classes fail to compile due to:
Error /Game/Weapons/SMG : Can't find file for asset. /Script/[ProjectName]
I am also unable to create a new c++ classes and derive a new BP from that. Any idea what could be causing this?