more than one module matches. angular code example
Example 1: More than one module matches
Specify the module using the --module parameter.
For example, if the main module is app.module.ts, run this:
ng g c new-component --module app
Or if you are in an other directory then
ng g c component-name --module ../
Example 2: ng g more than one module matches
ng g c new-component --module app