Error on component with no module specified.

A component with no module property will raise an error here.