-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Ionic 2 (Angular2) and raven-js (undefined is not an object (evaluating 'raven_js_1.default.config')) #643
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
Comments
Hey @galuszkak – Raven.js uses Browserify itself to build it's distributables (e.g. CDN builds), so I'm guessing there's something happening here besides "doesn't work with Browserify". |
Just for help this is minimal not working example: |
Hey @galuszkak did you tried to update your ionic2 to RC1? Can't get raven-js to work with my ionic2 app, angular2 documentation is useless as it seems that ravenjs is not working with aot :( |
@davorpeic did you manage to get it working with new Ionic2? Thanks |
Hello, thanks for hard work on Sentry :).
Problem that I encounter is maybe related to our build configuration. We are using Ionic 2 which uses Browserify to build app.
This code to transpiles to:
This produces error:
Browser is Safari/UIWebView (I believe this is used by Apache Cordova on iOS). For now because of that we can't use Sentry on our app.
Thanks for any help.
The text was updated successfully, but these errors were encountered: