Skip to content

Error in Maximum call stack size exceeded #5427

Closed

Description

@LapassetAlexis

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 :)

Activity

  1. filipesilva commented on Mar 18, 2017

    @filipesilva
    Contributor

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

  2. Rodrigo54 commented on Mar 26, 2017

    @Rodrigo54

    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

  3. LapassetAlexis commented on Mar 27, 2017

    @LapassetAlexis
    Author

    I have resolve this.

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

  4. vaibhavbparikh commented on May 14, 2017

    @vaibhavbparikh

    #6309
    Similar issue but scenario is different.
    @filipesilva Please take a look at below repo
    https://github.com/vaibhavbparikh/circular-routes

  5. sumitarora commented on May 15, 2017

    @sumitarora
    Contributor

    Closing this being tracked at above issue.

  6. DenisKondrachukYi commented on Jun 14, 2017

    @DenisKondrachukYi

    @alapasset Nice!Thank you👏🏼

  7. kasius commented on Sep 21, 2017

    @kasius

    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

  8. nikhildesu commented on Nov 8, 2017

    @nikhildesu

    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.

  9. angular-automatic-lock-bot commented on Sep 7, 2019

    @angular-automatic-lock-bot

    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.

  10. locked and limited conversation to collaborators on Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: repro stepsWe cannot reproduce the issue with the information given

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions