Cannot read property 'outlets' of null
问题 I have next problem : Cannot read property 'outlets' of null . My project works, but after some time it stopped working, but i didn't change my code. Help me please. Update My component with router-outlet: import { Component } from '@angular/core'; @Component({ selector: 'app', template: ' <nav-menu></nav-menu> <router-outlet></router-outlet> <footer-component></footer-component> ', }) export class AppComponent {} app.module: import { NgModule } from '@angular/core'; import { BrowserModule }