Runtime Error: Maximum call stack size exceeded

Before further explanation let me clear that there is no issue with the code written that might cause recursive issue.
When I run “ionic serve” the tab opened in the browser shows the error according to below snapshot:

This issue appears when someone pulls the code from version control and try to run on their system.

Ionic Framework: ^3.9.9
Ionic App Scripts: 3.2.4
Angular Core: 5.2.11
Angular Compiler CLI: 5.2.11
Node: 10.20.1
OS Platform: Windows 10
Navigator Platform: Win 32