René's URL Explorer Experiment


Title: Not Working with Cloudflare workers: dist.init is not a function · Issue #1665 · getsentry/sentry-javascript · GitHub

Open Graph Title: Not Working with Cloudflare workers: dist.init is not a function · Issue #1665 · getsentry/sentry-javascript

X Title: Not Working with Cloudflare workers: dist.init is not a function · Issue #1665 · getsentry/sentry-javascript

Description: Package + Version @sentry/minimal @sentry/browser raven-js Version: 4.1.1 Description I'm trying to use Sentry's javascript SDK with cloudflare workers, however I'm getting an error using either @sentry/minimal, @sentry/browser or raven-...

Open Graph Description: Package + Version @sentry/minimal @sentry/browser raven-js Version: 4.1.1 Description I'm trying to use Sentry's javascript SDK with cloudflare workers, however I'm getting an error using either @s...

X Description: Package + Version @sentry/minimal @sentry/browser raven-js Version: 4.1.1 Description I'm trying to use Sentry's javascript SDK with cloudflare workers, however I'm getting an error usi...

Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/1665

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Not Working with Cloudflare workers: dist.init is not a function","articleBody":"## Package + Version\r\n\r\n- [x] `@sentry/minimal`\r\n- [x] `@sentry/browser`\r\n- [x] `raven-js`\r\n\r\n### Version:\r\n\r\n```\r\n4.1.1\r\n```\r\n\r\n## Description\r\n\r\nI'm trying to use Sentry's javascript SDK with cloudflare workers, however I'm getting an error using either `@sentry/minimal`, `@sentry/browser` or `raven-js`. \r\n\r\nThe code is at available at https://github.com/tutorcruncher/cloudflare-worker and a preview is avilable at https://cloudflareworkers.com/#8dc47c7e9bd4a5463e6495630f82b7e9:https://workers.tutorcruncher.com although I'm not sure how long that will last for.\r\n\r\nIf the preview has stopped working you should be able to run a new preview with simply `yarn && python preview.py`.\r\n\r\n```\r\nUncaught TypeError: dist.init is not a function\r\n    at Module.\u003canonymous> (worker.js:1863:13)\r\n    at __webpack_require__ (worker.js:20:30)\r\n    at worker.js:84:18\r\n    at worker.js:87:10\r\n```\r\n\r\nI also tried `@sentry/browser` but an error `The 'referrerPolicy' field on 'RequestInitializerDict' is not implemented.` which makes sense. `raven-js` gave yet another error.\r\n","author":{"url":"https://github.com/samuelcolvin","@type":"Person","name":"samuelcolvin"},"datePublished":"2018-10-19T12:10:50Z","url":"https://github.com/getsentry/sentry-javascript/issues/1665"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:13d2e165-b1da-c69a-4928-78bcd0f3ba20
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCFF6:39E694:1F3864:2BD10D:6B04389A
html-safe-nonced8d319bb1a37efe3cf009161e3cb7f4e2cb3374222fd6c5547903eda28f9357e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkY2OjM5RTY5NDoxRjM4NjQ6MkJEMTBEOjZCMDQzODlBIiwidmlzaXRvcl9pZCI6IjUwNjY3NzgyMDM2OTY0MTI4MjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7784b8386887a9e0d0bbf907063baf67221487eba4050ecdbdc5fb0636025e69
hovercard-subject-tagissue:371929713
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/1665/issue_layout
twitter:imagehttps://opengraph.githubassets.com/79844d2df0665b938de475911dcb9ce9450ebf3f9ce04c58c562926fccab8330/getsentry/sentry-javascript/issues/1665
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/79844d2df0665b938de475911dcb9ce9450ebf3f9ce04c58c562926fccab8330/getsentry/sentry-javascript/issues/1665
og:image:altPackage + Version @sentry/minimal @sentry/browser raven-js Version: 4.1.1 Description I'm trying to use Sentry's javascript SDK with cloudflare workers, however I'm getting an error using either @s...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesamuelcolvin
hostnamegithub.com
expected-hostnamegithub.com
None9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64
turbo-cache-controlno-preview
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release06dc448a76fe4751ac1db26524aefa3aa3e889a8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/issues/1665#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F1665
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F1665
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/issues/1665
Reloadhttps://github.com/getsentry/sentry-javascript/issues/1665
Reloadhttps://github.com/getsentry/sentry-javascript/issues/1665
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues340 (340)https://github.com/getsentry/sentry-javascript/issues
Pull requests55 (55)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/1665
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/1665
Not Working with Cloudflare workers: dist.init is not a functionhttps://github.com/getsentry/sentry-javascript/issues/1665#top
https://github.com/samuelcolvin
samuelcolvinhttps://github.com/samuelcolvin
on Oct 19, 2018https://github.com/getsentry/sentry-javascript/issues/1665#issue-371929713
https://github.com/tutorcruncher/cloudflare-workerhttps://github.com/tutorcruncher/cloudflare-worker
https://cloudflareworkers.com/#8dc47c7e9bd4a5463e6495630f82b7e9:https://workers.tutorcruncher.comhttps://cloudflareworkers.com/#8dc47c7e9bd4a5463e6495630f82b7e9:https://workers.tutorcruncher.com
https://github.com/samuelcolvin
samuelcolvinhttps://github.com/samuelcolvin
on Oct 19, 2018https://github.com/getsentry/sentry-javascript/issues/1665#issuecomment-431342630
https://blog.cloudflare.com/dogfooding-edge-workers/https://blog.cloudflare.com/dogfooding-edge-workers/
https://github.com/samuelcolvin
samuelcolvinhttps://github.com/samuelcolvin
on Oct 22, 2018https://github.com/getsentry/sentry-javascript/issues/1665#issuecomment-431782960
thishttps://github.com/tutorcruncher/cloudflare-worker/blob/d14b71eb36d3d9e5d140f1dd033b596b9cd3e629/index.js
https://github.com/HazAT
HazAThttps://github.com/HazAT
on Oct 22, 2018https://github.com/getsentry/sentry-javascript/issues/1665#issuecomment-431783061
https://github.com/samuelcolvin
samuelcolvinhttps://github.com/samuelcolvin
on Oct 22, 2018https://github.com/getsentry/sentry-javascript/issues/1665#issuecomment-431842412
here'shttps://github.com/tutorcruncher/cloudflare-worker/tree/sentry-minimal
here'shttps://cloudflareworkers.com/#0ddbfddf212a53c74464d480809c6295:https://workers.tutorcruncher.com
https://github.com/samuelcolvin
samuelcolvinhttps://github.com/samuelcolvin
on Oct 22, 2018https://github.com/getsentry/sentry-javascript/issues/1665#issuecomment-431843136
my ownhttps://github.com/tutorcruncher/cloudflare-worker/blob/master/src/utils.js#L63
https://github.com/samuelcolvin
samuelcolvinhttps://github.com/samuelcolvin
on Oct 22, 2018https://github.com/getsentry/sentry-javascript/issues/1665#issuecomment-431843603
#1666https://github.com/getsentry/sentry-javascript/issues/1666
https://github.com/HazAT
HazAThttps://github.com/HazAT
on Oct 22, 2018https://github.com/getsentry/sentry-javascript/issues/1665#issuecomment-431929661
https://github.com/samuelcolvin
samuelcolvinhttps://github.com/samuelcolvin
on Oct 22, 2018https://github.com/getsentry/sentry-javascript/issues/1665#issuecomment-431930115
https://github.com/HazAT
HazAThttps://github.com/HazAT
on Oct 22, 2018https://github.com/getsentry/sentry-javascript/issues/1665#issuecomment-431935256
https://github.com/kamilogorek
kamilogorekhttps://github.com/kamilogorek
on Oct 31, 2018https://github.com/getsentry/sentry-javascript/issues/1665#issuecomment-434659713
kamilogorekhttps://github.com/kamilogorek
completedhttps://github.com/getsentry/sentry-javascript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 31, 2018https://github.com/getsentry/sentry-javascript/issues/1665#event-1937652563
raphaelschwingerhttps://github.com/raphaelschwinger
on Aug 27, 2019https://github.com/getsentry/sentry-javascript/issues/1665#event-2587379132
Add an offline integration for offline errorshttps://github.com/raphaelschwinger/sentry-javascript/commit/d26b5a70935d3252ca6dfb1adb7709fea8b69e7e
d26b5a7https://github.com/raphaelschwinger/sentry-javascript/commit/d26b5a70935d3252ca6dfb1adb7709fea8b69e7e
Add an integration for offline errorshttps://github.com/raphaelschwinger/sentry-javascript/commit/53dd061fbd959327551def55ab4aa5a89e952db6
53dd061https://github.com/raphaelschwinger/sentry-javascript/commit/53dd061fbd959327551def55ab4aa5a89e952db6
Add an integration for offline errorshttps://github.com/raphaelschwinger/sentry-javascript/commit/f2aa7d4e4a4df05f05387321023c8b399b29ec17
f2aa7d4https://github.com/raphaelschwinger/sentry-javascript/commit/f2aa7d4e4a4df05f05387321023c8b399b29ec17
https://github.com/tlianza
tlianzahttps://github.com/tlianza
on Nov 10, 2019https://github.com/getsentry/sentry-javascript/issues/1665#issuecomment-552248152
@samuelcolvinhttps://github.com/samuelcolvin
https://github.com/tlianza/pigeonhttps://github.com/tlianza/pigeon
https://github.com/kamilogorek
kamilogorekhttps://github.com/kamilogorek
on Nov 11, 2019https://github.com/getsentry/sentry-javascript/issues/1665#issuecomment-552403930
@tlianzahttps://github.com/tlianza
https://liquipedia.net/starcraft2/Raven_(Legacy_of_the_Void)https://liquipedia.net/starcraft2/Raven_(Legacy_of_the_Void)
https://liquipedia.net/starcraft2/Sentry_(Legacy_of_the_Void)https://liquipedia.net/starcraft2/Sentry_(Legacy_of_the_Void)
https://github.com/berkant
berkanthttps://github.com/berkant
on Oct 6, 2020https://github.com/getsentry/sentry-javascript/issues/1665#issuecomment-704043862
https://github.com/tlianza
tlianzahttps://github.com/tlianza
on Oct 6, 2020https://github.com/getsentry/sentry-javascript/issues/1665#issuecomment-704451860
https://github.com/robertcepa/toucan-jshttps://github.com/robertcepa/toucan-js
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-javascript/issues/1665
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/1665
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.