[TIMOB-13123] Fixed a bug when a required module has a syntax error