More than one module matches. Use skip-import option to skip importing the component into the closest module. into the closest module. code example
Example: More than one module matches. Use skip-import option to skip importing the component into the closest module. into the closest module.
ng g c new-component --module app
//Or if you are in an other directory then
ng g c component-name --module ../