Uncaught RangeError: Maximum call stack size exceeded ONLY on Production

Update August 28th. The exact package configuration is lower, but with zone.js 0.8.16 instead, it does not generate errors. Any idea why?

Edit: I was trying to figure out where this problem came from. If it is an infinite loop, where exactly is this happening, but I cannot decrypt the code in polyfills or vendor.

I am deploying an Angular application using Firebase Hosting. When compiling and testing using localhost, everything works fine. But when I deploy Firebase Hosting, my live site will never be able to bypass registration using Auth0, giving me the same error, which will be infinitely infinite in the console. How can I find out what exactly is causing the error?

 Uncaught RangeError: Maximum call stack size exceeded (anonymous) @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 o.(anonymous function) @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 (anonymous) @ vendor.bd83d2a24392414468c4.bundle.js:1 _makeRequest @ vendor.bd83d2a24392414468c4.bundle.js:1 _sendProcessedPayload @ vendor.bd83d2a24392414468c4.bundle.js:1 _send @ vendor.bd83d2a24392414468c4.bundle.js:1 _processException @ vendor.bd83d2a24392414468c4.bundle.js:1 _handleStackInfo @ vendor.bd83d2a24392414468c4.bundle.js:1 captureException @ vendor.bd83d2a24392414468c4.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 L @ polyfills.70fc3f963669a0ddfcd2.bundle.js:1 r @ vendor.bd83d2a24392414468c4.bundle.js:1 

Here is a list of my packages in the project:

β”œβ”€β”€ @agm/ core@1.0.0-beta.1 β”œβ”€β”€ @angular/ cli@1.3.2 β”œβ”€β”€ @angular/ common@4.3.6 β”œβ”€β”€ @angular/ compiler@4.3.6 β”œβ”€β”€ @angular/ compiler-cli@4.3.6 β”œβ”€β”€ @angular/ core@4.3.6 β”œβ”€β”€ @angular/ forms@4.3.6 β”œβ”€β”€ @angular/ http@4.3.6 β”œβ”€β”€ @angular/ platform-browser@4.3.6 β”œβ”€β”€ @angular/ platform-browser-dynamic@4.3.6 β”œβ”€β”€ @angular/ router@4.3.6 β”œβ”€β”€ @ngx-translate/ core@7.2.0 β”œβ”€β”€ @ngx-translate/ http-loader@1.0.2 β”œβ”€β”€ @types/ jasmine@2.5.54 β”œβ”€β”€ @types/ node@8.0.25 β”œβ”€β”€ angular2-jwt@0.2.3 β”œβ”€β”€ apollo-angular@0.13.0 β”œβ”€β”€ apollo-client@1.9.1 β”œβ”€β”€ auth0-js@8.9.3 β”œβ”€β”€ bootstrap@4.0.0-alpha.6 β”œβ”€β”€ codelyzer@3.1.2 β”œβ”€β”€ core-js@2.5.0 β”œβ”€β”€ graphql-tag@2.4.2 β”œβ”€β”€ jasmine-core@2.8.0 β”œβ”€β”€ jasmine-spec-reporter@4.2.1 β”œβ”€β”€ jquery@3.2.1 β”œβ”€β”€ karma@1.7.0 β”œβ”€β”€ karma-chrome-launcher@2.2.0 β”œβ”€β”€ karma-cli@1.0.1 β”œβ”€β”€ karma-coverage-istanbul-reporter@1.3.0 β”œβ”€β”€ karma-jasmine@1.1.0 β”œβ”€β”€ karma-jasmine-html-reporter@0.2.2 β”œβ”€β”€ mq-scss@1.2.4 β”œβ”€β”€ mydatepicker@2.0.27 β”œβ”€β”€ ngx-stripe@0.1.0 β”œβ”€β”€ ngx-swiper-wrapper@4.6.0 β”œβ”€β”€ protractor@5.1.2 β”œβ”€β”€ raven-js@3.17.0 β”œβ”€β”€ replace-in-file@2.6.3 β”œβ”€β”€ rxjs@5.4.3 β”œβ”€β”€ sass-mq@3.3.2 β”œβ”€β”€ ts-node@3.3.0 β”œβ”€β”€ tslint@5.7.0 β”œβ”€β”€ typescript@2.3.4 └── zone.js@0.8.17

If I run ng serve , everything will be fine and I can log in. If I run ng build --prod , then firebase serve (trying to simulate a production environment), I get the error above when I try to log in. Login = just a call to the Auth0 webAuth client library, which never completes a call to my function.

+5
source share
1 answer

This error is reported here and here and will probably be fixed by the next version of zone.js

+5
source

Source: https://habr.com/ru/post/1271236/


All Articles