Report error when module is not defined