Я использую Compodo c для создания документации для приложения angular, URL: https://github.com/compodoc/compodoc
При создании do c я получил ошибку. В это время скрипт обращается к файлу app-routing.module.ts.
[18:06:24] parsing : ../src/app/app-routing.module.ts
[18:06:24] Analysing routes definitions and clean them if necessary
Unhandled Rejection at: Promise {
<rejected> Error: Could not find the node's symbol.
Это мой app-routing.module.ts
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { AuthRestrictGuard, AuthGuard, AppUserLoadedGuard, RoleGuard }
from '@project-core/auth';
const routes: Routes = [
{
path: '',
loadChildren: () =>
import('./public/landing/landing.module').then(module =>
module.LandingModule),
canActivate: [AuthRestrictGuard]
},
{
path: 'jumping-page',
loadChildren: () => import('@project-business/core/project-jumping-
page/project-jumping-page.module')
.then(module => module.ProjectJumpingPageModule),
canActivate: [AuthGuard, AppUserLoadedGuard, RoleGuard],
data: {
roles: [RolesEnum.Admin, RolesEnum.MemberAdmin,
RolesEnum.MemberUser]
}
},
{
path: 'profile',
loadChildren: () => import('@project-business/core/project-
profile/project-profile.module')
.then(module => module.ProjectProfileModule),
canActivate: [AuthGuard, AppUserLoadedGuard]
},
{
path: 'errors',
loadChildren: () => import('./core/errors/errors.module').then(module
=> module.ErrorsModule)
},
{
path: '**',
redirectTo: 'errors',
pathMatch: 'full'
},
];
@NgModule({
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule]
})
export class AppRoutingModule { }
Есть удача?