Error while building the Angular project:
Type 'IRouter' is missing the following properties from type 'Router': Issue: You might be using the following import in your imports:
import { Router } from 'express';The solution is to import the Router from @angular/router:
import { Router } from '@angular/router';