I have an Angular 4 project which at first I was able to use the ng generate component command but since I have implemented Routing the command no longer works as I get the following error
Error: More than one module matches. Use skip-import option to skip importing the component into the closest module. More than one module matches. Use skip-import option to skip importing the component into the closest module.
I'm not too sure if its the Routing that is causing this but that's all I can seem to put my finger on and I need to get it fixed
ng g c newComponent --module targetModuleName