could not find an ngmodule. use the skip-import option to skip importing in ngmodule. angular 8 code example
Example: Could not find an NgModule. Use the skip-import option to skip importing in NgModule.
ng g c new-component -m app.module.ts
ng g c new-component -m app.module.ts