-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Maximum call stack size exceeded" when Generating ES5 bundles #16520
Comments
Duplicate of #16515 |
@devinshoemaker, thanks a lot for the repo. Will post it in other issue. |
To confirm behavior, I can reproduce
@devinshoemaker Can you confirm the above on your machine? |
@clydin, I got the same results. |
@clydin I got the same results as well. |
@devinshoemaker If you have some time can you try one more thing? Add the following source map options to the build target
|
@clydin adding that to my |
Another possible fix: #15493 (comment) |
This worked for me too, But I have no idea why. Your other solution works as well: #16515 (comment) Also runing 2nd and maybe 3rd suggest this is a memory problem which for me makes some sense, but every single error I've had mentions |
@aledujke have you updated your Angular version? This was fixed for me in a more recent update. |
I had to downgrade from
|
I got around the issue with the latest |
@devinshoemaker yes it is fixed for me too now. |
Issue Description: Move slider over to Angular Material Debugging obscure build failure on Amplify. Trying: angular/angular-cli#16520
Issue Description: Move slider over to Angular Material Debugging obscure build failure on Amplify. Trying: angular/angular-cli#16520
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes, this is a regression. Downgrading
@angular-devkit/build-angular
to0.801.2
fixes the issue and ES5 bundles can be created successfully.Description
A clear and concise description of the problem...ES5 bundles fail to be generated with the error "Maximum call stack size exceeded". In my case, I am building an application with Ionic, which leverages ES5. This appears to have been introduced with this commit.
🔬 Minimal Reproduction
I have created a repository that demonstrates this bug.
npm install
ng build
If you downgrade
@angular-devkit/build-angular
then build will complete successfully.npm install @angular-devkit/[email protected]
ng build
Issues that don't have enough info and can't be reproduced will be closed.
🔥 Exception or Error
🌍 Your Environment
The text was updated successfully, but these errors were encountered: