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.

RangeError: Maximum call stack size exceeded

See original GitHub issue

Describe the problem

update cli/core/material to 9.1/9.2 version (global cli 9.1, node 13.9) and got errors while serve app:

`Error: Error when flattening the source-map “…/app/node_modules/@fortawesome/angular-fontawesome/config.d.ts.map” for “…/app/node_modules/@fortawesome/angular-fontawesome/config.d.ts”: RangeError: Maximum call stack size exceeded

Error: Error when flattening the source-map “…/app/node_modules/@fortawesome/angular-fontawesome/icon-library.d.ts.map” for “…/app/node_modules/@fortawesome/angular-fontawesome/icon-library.d.ts”: RangeError: Maximum call stack size exceeded

Error: Error when flattening the source-map “…/app/node_modules/@fortawesome/angular-fontawesome/stack/stack-item-size.directive.d.ts.map” for “…/app/node_modules/@fortawesome/angular-fontawesome/stack/stack-item-size.directive.d.ts”: RangeError: Maximum call stack size exceeded

Error: Error when flattening the source-map “…/app/node_modules/@fortawesome/angular-fontawesome/icon/icon.component.d.ts.map” for “…/app/node_modules/@fortawesome/angular-fontawesome/icon/icon.component.d.ts”: RangeError: Maximum call stack size exceeded

Error: Error when flattening the source-map “…/app/node_modules/@fortawesome/angular-fontawesome/icon/duotone-icon.component.d.ts.map” for “…/app/node_modules/@fortawesome/angular-fontawesome/icon/duotone-icon.component.d.ts”: RangeError: Maximum call stack size exceeded

Error: Error when flattening the source-map “…/app/node_modules/@fortawesome/angular-fontawesome/layers/layers.component.d.ts.map” for “…/app/node_modules/@fortawesome/angular-fontawesome/layers/layers.component.d.ts”: RangeError: Maximum call stack size exceeded

Error: Error when flattening the source-map “…/app/node_modules/@fortawesome/angular-fontawesome/layers/layers-counter.component.d.ts.map” for “…/app/node_modules/@fortawesome/angular-fontawesome/layers/layers-counter.component.d.ts”: RangeError: Maximum call stack size exceeded

Error: Error when flattening the source-map “…/app/node_modules/@fortawesome/angular-fontawesome/layers/layers-text.component.d.ts.map” for “…/app/node_modules/@fortawesome/angular-fontawesome/layers/layers-text.component.d.ts”: RangeError: Maximum call stack size exceeded

Error: Error when flattening the source-map “…/app/node_modules/@fortawesome/angular-fontawesome/stack/stack.component.d.ts.map” for “…/app/node_modules/@fortawesome/angular-fontawesome/stack/stack.component.d.ts”: RangeError: Maximum call stack size exceeded

Error: Error when flattening the source-map “…/app/node_modules/@fortawesome/angular-fontawesome/fontawesome.module.d.ts.map” for “…/app/node_modules/@fortawesome/angular-fontawesome/fontawesome.module.d.ts”: RangeError: Maximum call stack size exceeded

Error: Error when flattening the source-map “…/app/node_modules/@fortawesome/angular-fontawesome/angular-fontawesome.d.ts.map” for “…/app/node_modules/@fortawesome/angular-fontawesome/angular-fontawesome.d.ts”: RangeError: Maximum call stack size exceeded`

What did you expect?

serve without errors

Reproducible test case

just update from v9 to v 9.1 and serve project (TSLint v 6.1)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
davidecampellocommented, Mar 31, 2020

Manually removing the node_modules folder and installing again has worked for me. I have no errors now. Thanks again

0reactions
devoto13commented, Apr 3, 2020

I’m going to close this issue as there is nothing to fix on the @fortawesome/angular-fontawesome side. If you still experience it and have a reproduction, open new issue on the Angular issue tracker, so they can fix it. Otherwise refer to https://github.com/angular/angular/issues/35757 for a set of workarounds.

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 >
Uncaught RangeError: Maximum call ... - Net-Informations.Com
This error is almost always means you have a problem with recursion in JavaScript code, as there isn't any other way in JavaScript...
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 >
RangeError: Maximum call stack size exceeded in JavaScript
The "RangeError: Maximum call stack size exceeded" error occurs when a function is called so many times that the invocations exceed the call...
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