Hi Ravi,
Angular is mostly upwards compatible, not downwards. Upgrade your Angular 4 projects to angular 8, and this problem will disappear.
Most projects can be upgraded with relative ease. The cli provides helpers for most things. As does rxjs.
Regards
Sander