npmangular95% confidence\u2191 579

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

Full error message
When I try to create a component in the angular cli, it's showing me this error. How do I get rid of it ?

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

I'm using angular cli version: 1.4.1

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 ../

API access

Get this solution programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/error/c696a9c68a6abad93b14c8cc3d779d2876b6e14e783f476f746964911f4b46e6
hash \u00b7 c696a9c68a6abad93b14c8cc3d779d2876b6e14e783f476f746964911f4b46e6
Error: More than one module matches. Use skip-import option… — DepScope fix | DepScope