Title: Ionic 2 (Angular2) and raven-js (undefined is not an object (evaluating 'raven_js_1.default.config')) · Issue #643 · getsentry/sentry-javascript · GitHub
Open Graph Title: Ionic 2 (Angular2) and raven-js (undefined is not an object (evaluating 'raven_js_1.default.config')) · Issue #643 · getsentry/sentry-javascript
X Title: Ionic 2 (Angular2) and raven-js (undefined is not an object (evaluating 'raven_js_1.default.config')) · Issue #643 · getsentry/sentry-javascript
Description: 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. import Raven from 'raven-js'; Raven.config('https://e13394886dfc405c...
Open Graph Description: 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. import Raven from 'raven-js'...
X Description: 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. import Raven from 'raven...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/643
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Ionic 2 (Angular2) and raven-js (undefined is not an object (evaluating 'raven_js_1.default.config'))","articleBody":"Hello, thanks for hard work on Sentry :).\n\nProblem that I encounter is maybe related to our build configuration. We are using Ionic 2 which uses Browserify to build app.\n\n```\nimport Raven from 'raven-js';\n\nRaven.config('https://e13394886dfc405c9cad08fcf5e53cf9@app.getsentry.com/86010').install();\n```\n\nThis code to transpiles to:\n\n```\nvar raven_js_1 = require('raven-js');\nraven_js_1.default.config('https://e13394886dfc405c9cad08fcf5e53cf9@app.getsentry.com/86010').install();\n```\n\nThis produces error:\n\n```\nTypeError: undefined is not an object (evaluating 'raven_js_1.default.config')\n(anonymous function) — app.ts:16\ns — _prelude.js:1\ne — _prelude.js:1\nglobal code — _prelude.js:1\n\n```\n\nBrowser 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.\n\nThanks for any help.\n","author":{"url":"https://github.com/galuszkak","@type":"Person","name":"galuszkak"},"datePublished":"2016-07-07T17:56:14Z","url":"https://github.com/getsentry/sentry-javascript/issues/643"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:83d40e0f-1834-ad58-202f-0c874a07f1e8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9EA8:4279A:18FFA94:219B0AF:6B015BA7 |
| html-safe-nonce | 7f92f3eb7b884c5b9bf0bcb56dd681e68e8d53aa66d5a0be28d114653def3fe4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUE4OjQyNzlBOjE4RkZBOTQ6MjE5QjBBRjo2QjAxNUJBNyIsInZpc2l0b3JfaWQiOiI3NjQ2MzMxNTI0NDA0NTY2OTUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 17dbf312e60dc4504d4aa3d965c24eafcf02f92e8548a8d3127a08a49570d9fd |
| hovercard-subject-tag | issue:164369823 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/643/issue_layout |
| twitter:image | https://opengraph.githubassets.com/86c8ae4e4f309072ec3b577b1b037d525f90119624df20cdaaa6cfd7c2d2f370/getsentry/sentry-javascript/issues/643 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/86c8ae4e4f309072ec3b577b1b037d525f90119624df20cdaaa6cfd7c2d2f370/getsentry/sentry-javascript/issues/643 |
| og:image:alt | 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. import Raven from 'raven-js'... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | galuszkak |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width