RangeError: Maximum call stack size exceeded
Describe the bug
Hey, I am trying to make a fairly simple Angular sample app. But when I try to run it, I get this error:
⠙ Building...
RangeError: Maximum call stack size exceeded
at wasm://wasm/02e59476:wasm-function[4182]:0x6f4b13
at wasm://wasm/02e59476:wasm-function[4182]:0x6f5294
at wasm://wasm/02e59476:wasm-function[4182]:0x6f5294
at wasm://wasm/02e59476:wasm-function[4182]:0x6f5294
at wasm://wasm/02e59476:wasm-function[4182]:0x6f5294
at wasm://wasm/02e59476:wasm-function[4182]:0x6f5294
at wasm://wasm/02e59476:wasm-function[4182]:0x6f5294
at wasm://wasm/02e59476:wasm-function[4182]:0x6f5294
at wasm://wasm/02e59476:wasm-function[4182]:0x6f5294
at wasm://wasm/02e59476:wasm-function[4182]:0x6f5294
An unhandled exception occurred: The service was stopped
See "/tmp/ng-KukNm4/angular-errors.log" for further details.
I have this same app running locally. And even if I download this project from stackblitz, it runs fine.
I am not sure how to get to those logs to read more about the problem. But if possible, it would be good to know why this app doesn't build. And ideally, a configuration setting I can change to get it working.
Thanks
Link to the blitz that caused the error
https://stackblitz.com/edit/stackblitz-starters-qpasmfgx?description=An%20angular-cli%20project%20based%20on%20@angular/animations,%20@angular/common,%20@angular/compiler,%20@angular/core,%20@angular/forms,%20@angular/platform-browser,%20@angular/platform-browser-dynamic,%20@angular/router,%20core-js,%20rxjs,%20tslib%20and%20zone.js&template=node&title=Angular%20Starter
Steps to reproduce
Just open the blitz and when it tries to run, you will see the error. RangeError: Maximum call stack size exceeded
Expected behavior
It should run and show a spreadsheet and some inputs on the page.
Parity with Local
- [x] I have run the project in my local machine and I could not reproduce the issue.
Screenshots
No response
Platform
Browser name = Chrome
Full version = 137.0.0.0
Major version = 137
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
performance.memory = {
"totalJSHeapSize": 104883694,
"usedJSHeapSize": 96571626,
"jsHeapSizeLimit": 4294705152
}
Hash = 6e337437
Additional context
No response
I tried removing different parts of this app, and found if I remove this import:
//import '@mescius/spread-sheets-charts';
the app compiles and runs fine.
Here is the forked blitz with just that one change made: https://stackblitz.com/edit/stackblitz-starters-llb5mkrw?file=src%2Fapp%2Fapp.ts
I suspect this might be a bundle size problem and maybe this large module makes it too big? Anyways, if its possible to change some setting to get the original working, I would be grateful.