Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Maximum call stack size exceeded #5427

Closed
1 of 2 tasks
LapassetAlexis opened this issue Mar 15, 2017 · 9 comments
Closed
1 of 2 tasks

Error in Maximum call stack size exceeded #5427

LapassetAlexis opened this issue Mar 15, 2017 · 9 comments
Labels
needs: repro steps We cannot reproduce the issue with the information given

Comments

@LapassetAlexis
Copy link

LapassetAlexis commented Mar 15, 2017

Bug Report or Feature Request

  • 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"
image
After I save one time and all is alright :
image

But for "ng test":
image

Desired functionality.

I have this issue since 3 - 4 days. Any idea to resolve this ?

Thx a lot :)

@filipesilva
Copy link
Contributor

I have no idea. Never ran into it myself. Do you have a repo that I can checkout and see this?

@filipesilva filipesilva added the needs: repro steps We cannot reproduce the issue with the information given label Mar 18, 2017
@Rodrigo54
Copy link

Rodrigo54 commented Mar 26, 2017

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

@LapassetAlexis
Copy link
Author

I have resolve this.

I had a parent import module inside a child module. That doing an "import loop". Check ?

@vaibhavbparikh
Copy link

vaibhavbparikh commented 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
Copy link
Contributor

sumitarora commented May 15, 2017

Closing this being tracked at above issue.

@DenisKondrachukYi
Copy link

@alapasset Nice!Thank you👏🏼

@kasius
Copy link

kasius commented 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
Copy link

nikhildesu commented 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
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs: repro steps We cannot reproduce the issue with the information given
Projects
None yet
Development

No branches or pull requests

8 participants