You appear to have a frankenproject, which is usually caused by haphazard upgrading processes.
Angular publishes an upgrade guide tool, and you can try using it. At a very minimum, you need to align all the versions of your Angular bits (currently you are mixing 7.x and 11.x), and you haven’t even installed @angular/router
at all, which is probably why you are seeing errors involving dependent code pining for its friend.