RangeError: Maximum call stack size exceeded Lazy routing Angular 2

后端 未结 7 863
礼貌的吻别
礼貌的吻别 2020-12-13 23:38

I\'m trying to implement lazy routing into my app.

I have a very big project and when it was at router-deprecated I used AsyncRoute, but now it was removed.

7条回答
  •  不知归路
    2020-12-14 00:13

    I was facing same issue and I had everything correct. The following worked for me

    1. Stop the angular server
    2. Start the server again with ng serve

    It started working again spontaneously. First make sure you have everything correct as mentioned in other answers and then try this.

提交回复
热议问题