raven-js doesn't work with a standard angular-cli app
See original GitHub issueAs soon as raven-js is called the angular app no longer works but only start some kind of infinite loop:
at http://localhost:4200/polyfills.bundle.js:5303:31
at XMLHttpRequest.proto.(anonymous function) (http://localhost:4200/polyfills.bundle.js:3819:24)
at XMLHttpRequest.open (http://localhost:4200/vendor.bundle.js:4636:37)
at Raven._makeRequest (http://localhost:4200/vendor.bundle.js:5317:17)
at Raven._sendProcessedPayload (http://localhost:4200/vendor.bundle.js:5241:56)
at Raven._send (http://localhost:4200/vendor.bundle.js:5183:22)
at Raven._processException (http://localhost:4200/vendor.bundle.js:4957:14)
at Raven._handleStackInfo (http://localhost:4200/vendor.bundle.js:4863:14)
at Raven.captureException (http://localhost:4200/vendor.bundle.js:4001:18)
at XMLHttpRequest.wrapped [as __zone_symbol__ON_PROPERTYreadystatechange] (http://localhost:4200/vendor.bundle.js:3937:22)
at XMLHttpRequest.wrapFn (http://localhost:4200/polyfills.bundle.js:3620:39)
at XMLHttpRequest.wrapped [as __zone_symbol__ON_PROPERTYreadystatechange] (http://localhost:4200/vendor.bundle.js:3934:29)
at XMLHttpRequest.wrapFn (http://localhost:4200/polyfills.bundle.js:3620:39)
at XMLHttpRequest.wrapped [as __zone_symbol__ON_PROPERTYreadystatechange] (http://localhost:4200/vendor.bundle.js:3934:29)
at XMLHttpRequest.wrapFn (http://localhost:4200/polyfills.bundle.js:3620:39)
at XMLHttpRequest.wrapped [as __zone_symbol__ON_PROPERTYreadystatechange] (http://localhost:4200/vendor.bundle.js:3934:29)
at XMLHttpRequest.wrapFn (http://localhost:4200/polyfills.bundle.js:3620:39)
at XMLHttpRequest.wrapped [as __zone_symbol__ON_PROPERTYreadystatechange] (http://localhost:4200/vendor.bundle.js:3934:29)
at XMLHttpRequest.wrapFn (http://localhost:4200/polyfills.bundle.js:3620:39)
at XMLHttpRequest.wrapped [as __zone_symbol__ON_PROPERTYreadystatechange] (http://localhost:4200/vendor.bundle.js:3934:29)
at XMLHttpRequest.wrapFn (http://localhost:4200/polyfills.bundle.js:3620:39)
at XMLHttpRequest.wrapped [as __zone_symbol__ON_PROPERTYreadystatechange] (http://localhost:4200/vendor.bundle.js:3934:29)
at XMLHttpRequest.wrapFn (http://localhost:4200/polyfills.bundle.js:3620:39)
at XMLHttpRequest.wrapped [as __zone_symbol__ON_PROPERTYreadystatechange] (http://localhost:4200/vendor.bundle.js:3934:29)
at XMLHttpRequest.wrapFn (http://localhost:4200/polyfills.bundle.js:3620:39)
at XMLHttpRequest.wrapped [as __zone_symbol__ON_PROPERTYreadystatechange] (http://localhost:4200/vendor.bundle.js:3934:29)
at XMLHttpRequest.wrapFn (http://localhost:4200/polyfills.bundle.js:3620:39)
at XMLHttpRequest.wrapped [as __zone_symbol__ON_PROPERTYreadystatechange] (http://localhost:4200/vendor.bundle.js:3934:29)
at XMLHttpRequest.wrapFn (http://localhost:4200/polyfills.bundle.js:3620:39)
at XMLHttpRequest.wrapped [as __zone_symbol__ON_PROPERTYreadystatechange] (http://localhost:4200/vendor.bundle.js:3934:29)
at XMLHttpRequest.wrapFn (http://localhost:4200/polyfills.bundle.js:3620:39)
at XMLHttpRequest.wrapped [as __zone_symbol__ON_PROPERTYreadystatechange] (http://localhost:4200/vendor.bundle.js:3934:29)
at XMLHttpRequest.wrapFn (http://localhost:4200/polyfills.bundle.js:3620:39)
at XMLHttpRequest.wrapped [as __zone_symbol__ON_PROPERTYreadystatechange] (http://localhost:4200/vendor.bundle.js:3934:29)
at XMLHttpRequest.wrapFn (http://localhost:4200/polyfills.bundle.js:3620:39)
at XMLHttpRequest.wrapped [as __zone_symbol__ON_PROPERTYreadystatechange] (http://localhost:4200/vendor.bundle.js:3934:29)
at XMLHttpRequest.wrapFn (http://localhost:4200/polyfills.bundle.js:3620:39)
at XMLHttpRequest.wrapped [as __zone_symbol__ON_PROPERTYreadystatechange] (http://localhost:4200/vendor.bundle.js:3934:29)
at XMLHttpRequest.wrapFn (http://localhost:4200/polyfills.bundle.js:3620:39)
at XMLHttpRequest.wrapped [as __zone_symbol__ON_PROPERTYreadystatechange] (http://localhost:4200/vendor.bundle.js:3934:29)
at XMLHttpRequest.wrapFn (http://localhost:4200/polyfills.bundle.js:3620:39)
at XMLHttpRequest.wrapped [as __zone_symbol__ON_PROPERTYreadystatechange] (http://localhost:4200/vendor.bundle.js:3934:29)
at XMLHttpRequest.wrapFn (http://localhost:4200/polyfills.bundle.js:3620:39)
at XMLHttpRequest.wrapped [as __zone_symbol__ON_PROPERTYreadystatechange] (http://localhost:4200/vendor.bundle.js:3934:29)
at XMLHttpRequest.wrapFn (http://localhost:4200/polyfills.bundle.js:3620:39)
at XMLHttpRequest.wrapped [as __zone_symbol__ON_PROPERTYreadystatechange] (http://localhost:4200/vendor.bundle.js:3934:29)
at XMLHttpRequest.wrapFn (http://localhost:4200/polyfills.bundle.js:3620:39)
at XMLHttpRequest.wrapped [as __zone_symbol__ON_PROPERTYreadystatechange] (http://localhost:4200/vendor.bundle.js:3934:29)
at XMLHttpRequest.wrapFn (http://localhost:4200/polyfills.bundle.js:3620:39)
at XMLHttpRequest.wrapped [as __zone_symbol__ON_PROPERTYreadystatechange] (http://localhost:4200/vendor.bundle.js:3934:29)
Start a new angular-cli app using ng new, add the npm raven-js dependency, import and call it from the app.module.ts, This is a minimal repository containing only an empty angular-cli app, the raven-js dep and just the initializing code (Raven.config().install() is enough to trigger the problem): https://github.com/esistgut/raventest
Issue Analytics
- State:
- Created 6 years ago
- Reactions:7
- Comments:10 (2 by maintainers)
Top Results From Across the Web
raven-js doesn't work with a standard angular-cli app #1016
As soon as raven-js is called the angular app no longer works but only start some kind of infinite loop: at ...
Read more >Angular: Cannot Get / - Stack Overflow
The steps I took were: Open up the project; npm install; ng serve. The project compiles the right way. (I have an own...
Read more >Nx is Modern Angular
In contrast to a standard Angular CLI setup, folks using Nx split their applications into many packages, each of which can have its...
Read more >Debug Angular apps in production without revealing source ...
But we are looking at JavaScript that is hard to read and impedes debugging. But there's a solution: source maps! Do you prefer...
Read more >Setting up the local environment and workspace - Angular
This guide explains how to set up your environment for Angular development using the Angular CLI tool. It includes information about prerequisites, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
we tracked back the cause to
zone.js@0.8.17
, with the previous minor release,0.8.16
everything still works@kblestarge
Are you sure ? I just upgraded zone.js to 0.8.18 and still have the loop error 😦