When I have the below route <a mat-list-item [routerLink]="['../../mfe-h/admin/dashboard']"><span>Home</span></a> Exception Error: NG04005: Invalid number of '../' at createPositionApplyingDoubleDots (router.mjs:1082:19) at findStartingPosition (router.mjs:1072:12) at createTreeUsingPathIndex (router.mjs:907:34) at createUrlTree (router.mjs:917:20) at Router.createUrlTree (router.mjs:5245:16) at get urlTree [as urlTree] (router.mjs:5829:28) at RouterLinkWithHref.updateTargetUrlAndHref (router.mjs:5821:26) at RouterLinkWithHref.ngOnChanges (router.mjs:5797:14) at RouterLinkWithHref.rememberChangeHistoryAndInvokeOnChangesHook (core.mjs:1523:14) Routes const adminRoutes = [ { path: 'mfe-h', component: AdminToolbarComponent, children: [ { path: 'admin', children: [ { path: 'dashboard', component: AdminDashboardComponent, }, ], }, ], }, ]; @NgModule({ declarations: [], imports: [CommonModule, RouterModule.forChild(adminRoutes)], }) export class AdminRoutingModule {} Continue reading...