René's URL Explorer Experiment


Title: Build Error in SvelteKit with Cloudflare Pages Following Cloudflare SvelteKit Framework Guide · Issue #13976 · getsentry/sentry-javascript · GitHub

Open Graph Title: Build Error in SvelteKit with Cloudflare Pages Following Cloudflare SvelteKit Framework Guide · Issue #13976 · getsentry/sentry-javascript

X Title: Build Error in SvelteKit with Cloudflare Pages Following Cloudflare SvelteKit Framework Guide · Issue #13976 · getsentry/sentry-javascript

Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using the latest SDK release https://github.com/...

Open Graph Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...

X Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Build Error in SvelteKit with Cloudflare Pages Following Cloudflare SvelteKit Framework Guide","articleBody":"### Is there an existing issue for this?\n\n- [x] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\n- [x] I have reviewed the documentation https://docs.sentry.io/\n- [x] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\n\n### How do you use Sentry?\n\nSentry Saas (sentry.io)\n\n### Which SDK are you using?\n\n@sentry/cloudflare\n\n### SDK Version\n\n8.34.0\n\n### Framework Version\n\nSvelteKit 2.7.0\n\n### Link to Sentry event\n\n_No response_\n\n### Reproduction Example/SDK Setup\n\n```js\nimport { sequence } from \"@sveltejs/kit/hooks\";\nimport { handleErrorWithSentry, sentryHandle } from \"@sentry/sveltekit\";\nimport * as Sentry from \"@sentry/cloudflare\";\n\nconst handleInitSentry = ({ event, resolve }) => {\n  return event.platform\n    ? Sentry.wrapRequestHandler(\n        {\n          options: {\n            dsn: 'YOUR_SENTRY_DSN',\n            tracesSampleRate: 1.0,\n          },\n          request: event.request,\n          context: event.platform.ctx,\n        },\n        () => resolve(event)\n      )\n    : resolve(event);\n};\n\nexport const handle = sequence(handleInitSentry, sentryHandle());\n```\n\n### Steps to Reproduce\n\n1. npm create svelte@latest my-app\n2. npm i -D @sveltejs/adapter-cloudflare\n3. Follow instructions on [Cloudflare Sveltekit Framework Guide](https://docs.sentry.io/platforms/javascript/guides/cloudflare/frameworks/sveltekit/)\n\n\n### Expected Result\n\nAccording to documentation I should be able to build the project without error.\n\n### Actual Result\n\n> Using @sveltejs/adapter-cloudflare\n✘ [ERROR] Could not resolve \"$app/stores\"\n\n    node_modules/@sentry/sveltekit/build/esm/client/browserTracingIntegration.js:1:33:\n      1 │ import { page, navigating } from '$app/stores';\n        ╵                                  ~~~~~~~~~~~~~\n\n  You can mark the path \"$app/stores\" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.\n\n\nerror during build:\n```\nError: Bundling with esbuild failed with 1 error\n    at adapt (file:///home/onur/Documents/dev/sentry/test/node_modules/@sveltejs/adapter-cloudflare/index.js:140:11)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async adapt (file:///home/onur/Documents/dev/sentry/test/node_modules/@sveltejs/kit/src/core/adapt/index.js:38:2)\n    at async finalise (file:///home/onur/Documents/dev/sentry/test/node_modules/@sveltejs/kit/src/exports/vite/index.js:891:7)\n    at async Object.handler (file:///home/onur/Documents/dev/sentry/test/node_modules/@sveltejs/kit/src/exports/vite/index.js:921:5)\n    at async PluginDriver.hookParallel (file:///home/onur/Documents/dev/sentry/test/node_modules/rollup/dist/es/shared/node-entry.js:20652:17)\n    at async Object.close (file:///home/onur/Documents/dev/sentry/test/node_modules/rollup/dist/es/shared/node-entry.js:21627:13)\n    at async build (file:///home/onur/Documents/dev/sentry/test/node_modules/vite/dist/node/chunks/dep-Cyk9bIUq.js:65455:17)\n    at async CAC.\u003canonymous> (file:///home/onur/Documents/dev/sentry/test/node_modules/vite/dist/node/cli.js:828:5)\n```","author":{"url":"https://github.com/onursoyer","@type":"Person","name":"onursoyer"},"datePublished":"2024-10-15T00:14:35Z","url":"https://github.com/getsentry/sentry-javascript/issues/13976"}

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:ddcb4d1f-ed8b-0b4e-3597-47ef3306249e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB886:2C4C9:40D61DB:564B347:6B0401E6
html-safe-nonce146bae2149473e71badc58d6491d3cae5a504e48389d61b8a345a0c45a783e69
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODg2OjJDNEM5OjQwRDYxREI6NTY0QjM0Nzo2QjA0MDFFNiIsInZpc2l0b3JfaWQiOiIyNTg0MjI5NDg0MzA2MTA5MTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd274155231c87837eb8c99d46693723a3c36e59a07048fe38615c5d895a731ea
hovercard-subject-tagissue:2587328395
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/13976/issue_layout
twitter:imagehttps://opengraph.githubassets.com/285f7684433d370253ed485d52c806a3fd4c91c241e9463381ffc1224eb13d56/getsentry/sentry-javascript/issues/13976
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/285f7684433d370253ed485d52c806a3fd4c91c241e9463381ffc1224eb13d56/getsentry/sentry-javascript/issues/13976
og:image:altIs there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameonursoyer
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/issues/13976#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F13976
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%2F13976
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/13976
Reloadhttps://github.com/getsentry/sentry-javascript/issues/13976
Reloadhttps://github.com/getsentry/sentry-javascript/issues/13976
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues343 (343)https://github.com/getsentry/sentry-javascript/issues
Pull requests58 (58)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/13976
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/13976
#14672https://github.com/getsentry/sentry-javascript/pull/14672
Build Error in SvelteKit with Cloudflare Pages Following Cloudflare SvelteKit Framework Guidehttps://github.com/getsentry/sentry-javascript/issues/13976#top
#14672https://github.com/getsentry/sentry-javascript/pull/14672
https://github.com/Lms24
Bughttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Bug%22
https://github.com/onursoyer
onursoyerhttps://github.com/onursoyer
on Oct 15, 2024https://github.com/getsentry/sentry-javascript/issues/13976#issue-2587328395
https://github.com/getsentry/sentry-javascript/issueshttps://github.com/getsentry/sentry-javascript/issues
https://docs.sentry.io/https://docs.sentry.io/
https://github.com/getsentry/sentry-javascript/releaseshttps://github.com/getsentry/sentry-javascript/releases
Cloudflare Sveltekit Framework Guidehttps://docs.sentry.io/platforms/javascript/guides/cloudflare/frameworks/sveltekit/
Nexthttps://github.com/getsentry/sentry-javascript/issues/13976?timeline_page=1
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Oct 15, 2024https://github.com/getsentry/sentry-javascript/issues/13976#event-14648183488
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Oct 15, 2024https://github.com/getsentry/sentry-javascript/issues/13976#event-14648188796
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Oct 15, 2024https://github.com/getsentry/sentry-javascript/issues/13976
github-actionshttps://github.com/apps/github-actions
Package: cloudflarehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Package%3A%20cloudflare%22
on Oct 15, 2024https://github.com/getsentry/sentry-javascript/issues/13976#event-14648195054
andreiborzahttps://github.com/andreiborza
Lms24https://github.com/Lms24
on Oct 15, 2024https://github.com/getsentry/sentry-javascript/issues/13976#event-14652934326
https://github.com/Lms24
Lms24https://github.com/Lms24
on Oct 15, 2024https://github.com/getsentry/sentry-javascript/issues/13976#issuecomment-2413595685
@onursoyerhttps://github.com/onursoyer
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Oct 15, 2024https://github.com/getsentry/sentry-javascript/issues/13976#event-14655569177
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Oct 15, 2024https://github.com/getsentry/sentry-javascript/issues/13976
https://github.com/Lms24
Lms24https://github.com/Lms24
on Oct 15, 2024https://github.com/getsentry/sentry-javascript/issues/13976#issuecomment-2413917964
repohttps://github.com/sveltejs/kit/issues/12813
https://github.com/saturnonearth
saturnonearthhttps://github.com/saturnonearth
on Nov 9, 2024https://github.com/getsentry/sentry-javascript/issues/13976#issuecomment-2465994043
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Nov 9, 2024https://github.com/getsentry/sentry-javascript/issues/13976#event-15233030637
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Nov 9, 2024https://github.com/getsentry/sentry-javascript/issues/13976
https://github.com/Lms24
Lms24https://github.com/Lms24
on Nov 11, 2024https://github.com/getsentry/sentry-javascript/issues/13976#issuecomment-2467696578
sveltejs/kit#12813https://github.com/sveltejs/kit/issues/12813
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Nov 11, 2024https://github.com/getsentry/sentry-javascript/issues/13976#event-15247167380
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Nov 11, 2024https://github.com/getsentry/sentry-javascript/issues/13976
https://github.com/TimoWilhelm
TimoWilhelmhttps://github.com/TimoWilhelm
on Jan 27, 2025https://github.com/getsentry/sentry-javascript/issues/13976#issuecomment-2616551993
@Lms24https://github.com/Lms24
v9 SDKhttps://github.com/getsentry/sentry-javascript/milestone/30
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Jan 27, 2025https://github.com/getsentry/sentry-javascript/issues/13976#event-16082229417
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Jan 27, 2025https://github.com/getsentry/sentry-javascript/issues/13976
https://github.com/Lms24
Lms24https://github.com/Lms24
on Jan 28, 2025https://github.com/getsentry/sentry-javascript/issues/13976#issuecomment-2618953550
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Jan 28, 2025https://github.com/getsentry/sentry-javascript/issues/13976#event-16092833447
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Jan 28, 2025https://github.com/getsentry/sentry-javascript/issues/13976
https://github.com/mrankine
mrankinehttps://github.com/mrankine
on Feb 17, 2025https://github.com/getsentry/sentry-javascript/issues/13976#issuecomment-2662395892
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Feb 17, 2025https://github.com/getsentry/sentry-javascript/issues/13976#event-16329589899
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Feb 17, 2025https://github.com/getsentry/sentry-javascript/issues/13976
https://github.com/Lms24
Lms24https://github.com/Lms24
on Feb 17, 2025https://github.com/getsentry/sentry-javascript/issues/13976#issuecomment-2662417037
#14672https://github.com/getsentry/sentry-javascript/pull/14672
blocker in CIhttps://github.com/getsentry/sentry-javascript/pull/14672#issuecomment-2674108191
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Feb 17, 2025https://github.com/getsentry/sentry-javascript/issues/13976#event-16329686781
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Feb 17, 2025https://github.com/getsentry/sentry-javascript/issues/13976
Lms24https://github.com/Lms24
completedhttps://github.com/getsentry/sentry-javascript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#14672https://github.com/getsentry/sentry-javascript/pull/14672
on Feb 21, 2025https://github.com/getsentry/sentry-javascript/issues/13976#event-16398154999
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Feb 24, 2025https://github.com/getsentry/sentry-javascript/issues/13976#issuecomment-2679114283
GitHub Actionshttps://help.github.com/en/actions
#14672https://github.com/getsentry/sentry-javascript/pull/14672
9.2.0 releasehttps://github.com/getsentry/sentry-javascript/releases/tag/9.2.0
Bughttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Bug%22
on Aug 12, 2025https://github.com/getsentry/sentry-javascript/issues/13976#event-19124655177
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-javascript/issues/13976
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/13976
Lms24https://github.com/Lms24
Bughttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Bug%22
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
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.