Page 1 of 1

Circular dependency

Posted: 08 Jul 2020, 16:22
by locoloco22
Hello,

I added the template to an existing project by replacing the app.component (.ts and .html files) and adding the app.menu and app.menuitems. When I do "npm start", I get a circular dependency warning for all 3:

WARNING in Circular dependency detected:
src\app\core\containers\app.component.ts -> src\app\core\containers\app.menu.component.ts -> src\app\core\containers\app.menuitem.component.ts -> src\app\core\containers\app.component.ts

WARNING in Circular dependency detected:
src\app\core\containers\app.menu.component.ts -> src\app\core\containers\app.menuitem.component.ts -> src\app\core\containers\app.component.ts -> src\app\core\containers\app.menu.component.ts

WARNING in Circular dependency detected:
src\app\core\containers\app.menuitem.component.ts -> src\app\core\containers\app.component.ts -> src\app\core\containers\app.menu.component.ts -> src\app\core\containers\app.menuitem.component.ts

Am I doing something wrong?

Re: Circular dependency

Posted: 12 Aug 2020, 23:35
by cagatay.civici
What is your CLI version?