ng g more than one module matches code example
Example 1: More than one module matches. Use skip-import option to skip importing the component into the closest module.
ng g c new-component --module app
Example 2: ng g more than one module matches
ng g c new-component --module app