Circular dependency

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
locoloco22
Posts: 1
Joined: 08 Jul 2020, 15:23

08 Jul 2020, 16:22

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?

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

12 Aug 2020, 23:35

What is your CLI version?

Post Reply

Return to “Omega - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests