### Bug Report or Feature Request - [x] bug report - [ ] feature request ### Versions. @angular/cli: 1.0.0-rc.2 node: 6.9.2 os: win32 x64 @angular/common: 2.4.9 @angular/compiler: 2.4.9 @angular/core: 2.4.9 @angular/forms: 2.4.9 @angular/http: 2.4.9 @angular/platform-browser: 2.4.9 @angular/platform-browser-dynamic: 2.4.9 @angular/router: 3.4.9 @angular/cli: 1.0.0-rc.2 @angular/compiler-cli: 2.4.9 ### Repro steps. I run ng serv / ng test or ng build and i have : "ERROR in Maximum call stack size exceeded" ### The log given by the failure. After "ng serve"  After I save one time and all is alright :  But for "ng test":  ### Desired functionality. I have this issue since 3 - 4 days. Any idea to resolve this ? Thx a lot :)
Activity
filipesilva commentedon Mar 18, 2017
I have no idea. Never ran into it myself. Do you have a repo that I can checkout and see this?
Rodrigo54 commentedon Mar 26, 2017
I'm also having this problem in
https://github.com/Rodrigo54/angular2
When I give
ng serveit displays the error, but if I change some file the error disappearsWith this I can not use
ng buildandng testVersions.
@angular/cli: 1.0.0
node: 7.5.0
os: win32 x64
@angular/common: 4.0.0
@angular/compiler: 4.0.0
@angular/core: 4.0.0
@angular/forms: 4.0.0
@angular/http: 4.0.0
@angular/platform-browser: 4.0.0
@angular/platform-browser-dynamic: 4.0.0
@angular/router: 4.0.0
@angular/cli: 1.0.0
@angular/compiler-cli: 4.0.0
LapassetAlexis commentedon Mar 27, 2017
I have resolve this.
I had a parent import module inside a child module. That doing an "import loop". Check ?
vaibhavbparikh commentedon May 14, 2017
#6309
Similar issue but scenario is different.
@filipesilva Please take a look at below repo
https://github.com/vaibhavbparikh/circular-routes
sumitarora commentedon May 15, 2017
Closing this being tracked at above issue.
DenisKondrachukYi commentedon Jun 14, 2017
@alapasset Nice!Thank you👏🏼
kasius commentedon Sep 21, 2017
revisen la manera en que utilizan el router de cada modulo, tenía este mismo problema y era que estaba declarando mal el router en uno de mis modulos
nikhildesu commentedon Nov 8, 2017
This is due to the modules which are calling in loop that never comes out of it. check the module references/imports to resolve it.
angular-automatic-lock-bot commentedon Sep 7, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.