1
resposta

More than one module matches. Use skip-import option ...

usei o comando proposto no video, mas continuou dando o erro de

c:\AngularProjetos\alurapic>ng generate component photos/photo-list/photos "More than one module matches. Use skip-import option to skip importing the component into the closest module."

Garanta sua matrícula hoje e ganhe + 2 meses grátis

Continue sua jornada tech com ainda mais tempo para aprender e evoluir

Quero aproveitar agora
1 resposta

Fala aí Vinicius, tudo bem? Como ficou o comando completo? Pergunto isso porque o você postou não tem a opção de skip:

c:\AngularProjetos\alurapic>ng generate component photos/photo-list/photos

Repare que faltou o --skipImport.

Espero ter ajudado.