Posts

Showing posts with the label angular cli

Error: More than one module matches. Use skip-import option to skip importing the component into the closest module

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