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.
Sammy source share