question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Maximum call stack size exceeded

See original GitHub issue

I’m submitting a…


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x ] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

Hi I created a project with cli version 1.6.6 and i’ve work on this project about a month, always ng serve testing and today I’ve want to deploy on server and when I run ‘ng build --prod’ it throws ‘Maximum call stack size exceeded…’ I look this post with likely behaviour and doesn’t seem to be fixed 😦

Expected behavior

It should complile without problems.

Minimal reproduction of the problem with instructions

`C:\Users\Diego Mendez\Desktop\innovacion-notaria-digital>ng build --pr od 10% building modules 0/1 modules 1 active …nnovacion-notaria-digita 10% building modules 1/2 modules 1 active …cion-notaria-digital\src 10% building modules 2/3 modules 1 active …acion-notaria-digital\sr 10% building modules 3/4 modules 1 active …acion-notaria-digital\sr 10% building modules 3/5 modules 2 active …nnovacion-notaria-digita 10% building modules 3/6 modules 3 active …cion-notaria-digital\src 10% building modules 4/6 modules 2 active …cion-notaria-digital\src 10% building modules 5/6 modules 1 active …acion-notaria-digital\sr c\styles.scssNode#moveTo was deprecated. Use Container#append. 10% building modules 6/7 modules 1 active …de_modules\css-loader\li 10% building modules 7/8 modules 1 active …acion-notaria-digital\sr Date: 2018-02-15T15:01:56.479Z Hash: 2fc5ae5cead61d445921 Time: 17544ms chunk {scripts} scripts.abd2bc1a81803e88ec1c.bundle.js (scripts) 160 k B [initial] [rendered] chunk {0} styles.b71bf03706da12181fe1.bundle.css (styles) 198 kB [init ial] [rendered] chunk {1} polyfills.3bc34265385d52184eab.bundle.js (polyfills) 86 byte s [initial] [rendered] chunk {2} main.e402deade8b026b7d50e.bundle.js (main) 84 bytes [initial ] [rendered] chunk {3} inline.9d07561b59257af76b95.bundle.js (inline) 1.45 kB [entr y] [rendered]

ERROR in RangeError: Maximum call stack size exceeded at AotSummaryResolver.resolveSummary (C:\Users\Diego Mendez\Deskto p\innovacion-notaria-digital\node_modules@angular\compiler\bundles\co mpiler.umd.js:32815:14) at StaticSymbolResolver._resolveSymbolFromSummary (C:\Users\Diego Mendez\Desktop\innovacion-notaria-digital\node_modules@angular\compil er\bundles\compiler.umd.js:29372:61) at StaticSymbolResolver.resolveSymbol (C:\Users\Diego Mendez\Deskt op\innovacion-notaria-digital\node_modules@angular\compiler\bundles\c ompiler.umd.js:29119:74) at resolveReferenceValue (C:\Users\Diego Mendez\Desktop\innovacion -notaria-digital\node_modules@angular\compiler\bundles\compiler.umd.j s:32059:75) at simplify (C:\Users\Diego Mendez\Desktop\innovacion-notaria-digi tal\node_modules@angular\compiler\bundles\compiler.umd.js:32222:65) at simplifyInContext (C:\Users\Diego Mendez\Desktop\innovacion-not aria-digital\node_modules@angular\compiler\bundles\compiler.umd.js:32 427:20) at simplifyNested (C:\Users\Diego Mendez\Desktop\innovacion-notari a-digital\node_modules@angular\compiler\bundles\compiler.umd.js:32084 :28) at simplify (C:\Users\Diego Mendez\Desktop\innovacion-notaria-digi tal\node_modules@angular\compiler\bundles\compiler.umd.js:32224:36) at simplifyInContext (C:\Users\Diego Mendez\Desktop\innovacion-not aria-digital\node_modules@angular\compiler\bundles\compiler.umd.js:32 427:20) at simplifyNested (C:\Users\Diego Mendez\Desktop\innovacion-notari a-digital\node_modules@angular\compiler\bundles\compiler.umd.js:32084 :28) at simplify (C:\Users\Diego Mendez\Desktop\innovacion-notaria-digi tal\node_modules@angular\compiler\bundles\compiler.umd.js:32224:36) at simplifyInContext (C:\Users\Diego Mendez\Desktop\innovacion-not aria-digital\node_modules@angular\compiler\bundles\compiler.umd.js:32 427:20) at simplifyNested (C:\Users\Diego Mendez\Desktop\innovacion-notari a-digital\node_modules@angular\compiler\bundles\compiler.umd.js:32084 :28) at simplify (C:\Users\Diego Mendez\Desktop\innovacion-notaria-digi tal\node_modules@angular\compiler\bundles\compiler.umd.js:32224:36) at simplifyInContext (C:\Users\Diego Mendez\Desktop\innovacion-not aria-digital\node_modules@angular\compiler\bundles\compiler.umd.js:32 427:20) at simplifyNested (C:\Users\Diego Mendez\Desktop\innovacion-notari a-digital\node_modules@angular\compiler\bundles\compiler.umd.js:32084 :28) `

What is the motivation / use case for changing the behavior?

Environment


Angular version: 5


Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
 
For Tooling issues:
- Node version: 8.5.0  
- Platform:  Windows

Others:

Windows 7
12 GB Ram
Sublime text
NPM: 5.6.0

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jotatoledocommented, Feb 15, 2018

IMO this isnt a problem on the angular side, and if it was, it would be related to the CLI. As it is, this is general support. The issue tracker is not the right place for this kind of “issues”.

If you trully think that this is a bug, please provide a minimal reproduction of your issue.

1reaction
jotatoledocommented, Feb 15, 2018

Hard to tell whats happening with that little information.

Read more comments on GitHub >

github_iconTop Results From Across the Web

javascript - Maximum call stack size exceeded error
It means that somewhere in your code, you are calling a function which in turn calls another function and so forth, until you...
Read more >
JavaScript Error: Maximum Call Stack Size Exceeded
If you see the “Maximum Call Stack Size Exceeded” error, there's likely a problem with a recursive function within your JavaScript code.
Read more >
RangeError: Maximum call stack size exceeded - Educative.io
The most common source for this error is infinite recursion. You must have a recursive function in your code whose base case is...
Read more >
Uncaught RangeError: Maximum call ... - Net-Informations.Com
Maximum call stack size exceeded error ... This error is almost always means you have a problem with recursion in JavaScript code, as...
Read more >
How to fix: "RangeError: Maximum call stack size exceeded"
A "RangeError: Maximum call stack size exceeded" is an error that occurs when a function or operation tries to execute too many nested...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found