Error in Maximum call stack size exceeded
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 :)
I have no idea. Never ran into it myself. Do you have a repo that I can checkout and see this?
I'm also having this problem in Https://github.com/Rodrigo54/angular2
When I give ng serve it displays the error, but if I change some file the error disappears
With this I can not use ng build and ng test
Versions.
@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
I have resolve this.
I had a parent import module inside a child module. That doing an "import loop". Check ?
https://github.com/angular/angular-cli/issues/6309 Similar issue but scenario is different. @filipesilva Please take a look at below repo https://github.com/vaibhavbparikh/circular-routes
Closing this being tracked at above issue.
@alapasset Nice!Thank you👏🏼
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
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.
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.