angular / angular-cli

CLI tool for Angular
https://cli.angular.io
MIT License
26.76k stars 11.97k forks source link

App component loading twice on the first load of the application. #25736

Closed ashokpadala1 closed 1 year ago

ashokpadala1 commented 1 year ago

Command

serve

Is this a regression?

The previous version in which this bug was not present was

No response

Description

Angular9 application loading my app twice on the first load. Here is my app module which has only one component in the app routing. RouterModule.forRoot([ { path: '', component: HomeComponent, canActivate: [AuthenticationGuard] } ]),

Minimal Reproduction

App a simple component inside the app module.ts try calling load it in the router outlet along with header div along with router outlet

Exception or Error

No response

Your Environment

9.1.13

Anything else relevant?

No response

alan-agius4 commented 1 year ago

Angular 9 is no longer supported. See: https://angular.io/guide/releases#actively-supported-versions for more information.

Please update to a more recent version. If the problem persists please file a new issue with a minimal reproduction.

angular-automatic-lock-bot[bot] commented 1 year ago

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.