So it seems that top level projects do not get compiled and trying to add child projects cause this error to occur when compiling. Not sure what the workflow is suppose to even look like so this could just be not the intended way.
Work around is to simply just add your script file in the respective existing script module folder.