René's URL Explorer Experiment


Title: @sentry/nextjs: can't read data inside next-compose-plugins · Issue #3579 · getsentry/sentry-javascript · GitHub

Open Graph Title: @sentry/nextjs: can't read data inside next-compose-plugins · Issue #3579 · getsentry/sentry-javascript

X Title: @sentry/nextjs: can't read data inside next-compose-plugins · Issue #3579 · getsentry/sentry-javascript

Description: Review the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javascript/releases Provide a link to the aff...

Open Graph Description: Review the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javas...

X Description: Review the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javas...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"@sentry/nextjs: can't read data inside next-compose-plugins","articleBody":"\u003c!-- Requirements: please go through this checklist before opening a new issue -->\r\n\r\n- [x] Review the documentation: https://docs.sentry.io/\r\n- [x] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues\r\n- [x] Use the latest release: https://github.com/getsentry/sentry-javascript/releases\r\n- [ ] Provide a link to the affected event from your Sentry account\r\n\r\n## Package + Version\r\n\r\n- [ ] `@sentry/browser`\r\n- [ ] `@sentry/node`\r\n- [ ] `raven-js`\r\n- [ ] `raven-node` _(raven for node)_\r\n- [x] other: `@sentry/nextjs`\r\n\r\n### Version:\r\n\r\n```\r\n\"@sentry/nextjs\": \"^6.4.1\",\r\n\"next\": \"^10.2.1\",\r\n```\r\n\r\n## Description\r\n\r\nFYI: We start projects with version \u003c 10.0.0 and then we are upgrading to the latest version.\r\n\r\nPreviously we have a setting in our `next.config.js` like this.\r\n\r\n```\r\nconst withCss = require(\"@zeit/next-css\");\r\nconst withSass = require(\"@zeit/next-sass\");\r\nconst withPlugins = require(\"next-compose-plugins\");\r\nconst withImages = require(\"next-images\");\r\n\r\nmodule.exports = withPlugins([withCss, withSass, withImages], {\r\n    env: {\r\n        SENTRY_DSN: \"xxx\",\r\n    }\r\n});\r\n```\r\n\r\nThen we change the structure like in the documentation, become like this:\r\n```\r\nconst { withSentryConfig } = require(\"@sentry/nextjs\");\r\n\r\nconst withCss = require(\"@zeit/next-css\");\r\nconst withSass = require(\"@zeit/next-sass\");\r\nconst withPlugins = require(\"next-compose-plugins\");\r\nconst withImages = require(\"next-images\");\r\n\r\nconst moduleExports = withPlugins([withCss, withSass, withImages], {\r\n    env: {\r\n        SENTRY_DSN: \"xxx\",\r\n    }\r\n});\r\n\r\n// other codes\r\n\r\nmodule.exports = withSentryConfig(moduleExports, SentryWebpackPluginOptions);\r\n```\r\n\r\nWhen we run the app, env can't read with a struct like that. (start from this we are confused)\r\n\r\nBut, when we are changing the structure like this:\r\n```\r\nconst { withSentryConfig } = require(\"@sentry/nextjs\");\r\n\r\nconst moduleExports = {\r\n    env: {\r\n        SENTRY_DSN: \"xxx\",\r\n    }\r\n};\r\n\r\n// other codes\r\n\r\nmodule.exports = withSentryConfig(moduleExports, SentryWebpackPluginOptions);\r\n```\r\n\r\nThe app can run fine, but the problem is we don't want to change like that because we are still using the next-compose-plugins.\r\n\r\nIs there any recommendation for us, thank you.","author":{"url":"https://github.com/Fadhilamadan","@type":"Person","name":"Fadhilamadan"},"datePublished":"2021-05-21T02:17:56Z","url":"https://github.com/getsentry/sentry-javascript/issues/3579"}

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:7a03dcae-b880-3635-6372-b0077f3c722c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC726:2815D1:27D07B:370E96:6B04693C
html-safe-nonce036b6e28fde13d167061f9b319364686b0dcae75749718068c614d756e208abe
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzI2OjI4MTVEMToyN0QwN0I6MzcwRTk2OjZCMDQ2OTNDIiwidmlzaXRvcl9pZCI6IjczMzQ2OTgzNjUzNzgzOTAzMzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac00b96fa9251933c698df412a4a6e69c949790a31e9bd0f17b187e31ebf791827
hovercard-subject-tagissue:897615530
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/3579/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a413e399ae3d9d85ace99988715d93b1d8dba29f362cb9c1ef5d037a0ec42680/getsentry/sentry-javascript/issues/3579
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a413e399ae3d9d85ace99988715d93b1d8dba29f362cb9c1ef5d037a0ec42680/getsentry/sentry-javascript/issues/3579
og:image:altReview the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javas...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameFadhilamadan
hostnamegithub.com
expected-hostnamegithub.com
None83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f
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
releaseca4d07a7cef4e4b75f821dc25e7300d80c1450a9
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/issues/3579#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F3579
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%2F3579
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/3579
Reloadhttps://github.com/getsentry/sentry-javascript/issues/3579
Reloadhttps://github.com/getsentry/sentry-javascript/issues/3579
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues339 (339)https://github.com/getsentry/sentry-javascript/issues
Pull requests54 (54)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/3579
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/3579
@sentry/nextjs: can't read data inside next-compose-pluginshttps://github.com/getsentry/sentry-javascript/issues/3579#top
https://github.com/Fadhilamadan
Fadhilamadanhttps://github.com/Fadhilamadan
on May 21, 2021https://github.com/getsentry/sentry-javascript/issues/3579#issue-897615530
https://docs.sentry.io/https://docs.sentry.io/
https://github.com/getsentry/sentry-javascript/issueshttps://github.com/getsentry/sentry-javascript/issues
https://github.com/getsentry/sentry-javascript/releaseshttps://github.com/getsentry/sentry-javascript/releases
Nexthttps://github.com/getsentry/sentry-javascript/issues/3579?timeline_page=1
Fadhilamadanhttps://github.com/Fadhilamadan
Status: Needs Triagehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Needs%20Triage%22
on May 21, 2021https://github.com/getsentry/sentry-javascript/issues/3579#event-4776824128
Fadhilamadanhttps://github.com/Fadhilamadan
on May 21, 2021https://github.com/getsentry/sentry-javascript/issues/3579#event-4776827553
AbhiPrasadhttps://github.com/AbhiPrasad
on May 21, 2021https://github.com/getsentry/sentry-javascript/issues/3579#event-4779666366
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
on May 26, 2021https://github.com/getsentry/sentry-javascript/issues/3579#issuecomment-848734804
https://github.com/cyrilwanner/next-compose-plugins/blob/master/src/compose.js#L63https://github.com/cyrilwanner/next-compose-plugins/blob/master/src/compose.js#L63
AbhiPrasadhttps://github.com/AbhiPrasad
Type: Discussionhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Discussion%22
Status: Needs Triagehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Needs%20Triage%22
on May 26, 2021https://github.com/getsentry/sentry-javascript/issues/3579#event-4799088340
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
on May 28, 2021https://github.com/getsentry/sentry-javascript/issues/3579#issuecomment-850407830
AbhiPrasadhttps://github.com/AbhiPrasad
completedhttps://github.com/getsentry/sentry-javascript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on May 28, 2021https://github.com/getsentry/sentry-javascript/issues/3579#event-4812420598
https://github.com/Fadhilamadan
Fadhilamadanhttps://github.com/Fadhilamadan
on Jun 3, 2021https://github.com/getsentry/sentry-javascript/issues/3579#issuecomment-853502436
@AbhiPrasadhttps://github.com/AbhiPrasad
https://github.com/chris-erickson
chris-ericksonhttps://github.com/chris-erickson
on Jun 4, 2021https://github.com/getsentry/sentry-javascript/issues/3579#issuecomment-854973389
herehttps://github.com/cyrilwanner/next-compose-plugins/issues/50#issuecomment-853821991
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
on Jun 4, 2021https://github.com/getsentry/sentry-javascript/issues/3579#issuecomment-854981801
@chris-ericksonhttps://github.com/chris-erickson
#3621https://github.com/getsentry/sentry-javascript/issues/3621
#3575 (comment)https://github.com/getsentry/sentry-javascript/issues/3575#issuecomment-848954576
https://github.com/chris-erickson
chris-ericksonhttps://github.com/chris-erickson
on Jun 4, 2021https://github.com/getsentry/sentry-javascript/issues/3579#issuecomment-854985462
https://github.com/Sm1t
Sm1thttps://github.com/Sm1t
on Jun 7, 2021https://github.com/getsentry/sentry-javascript/issues/3579#issuecomment-856325385
@AbhiPrasadhttps://github.com/AbhiPrasad
https://github.com/vercel/next.js/tree/canary/examples/with-sentryhttps://github.com/vercel/next.js/tree/canary/examples/with-sentry
as in the example abovehttps://github.com/getsentry/sentry-javascript/issues/3579#issuecomment-853502436
https://github.com/lobsterkatie
lobsterkatiehttps://github.com/lobsterkatie
on Jul 21, 2021https://github.com/getsentry/sentry-javascript/issues/3579#issuecomment-884457336
@Sm1thttps://github.com/Sm1t
lobsterkatiehttps://github.com/lobsterkatie
on Jul 21, 2021https://github.com/getsentry/sentry-javascript/issues/3579#event-5052266973
lobsterkatiehttps://github.com/lobsterkatie
Status: Backloghttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Backlog%22
Type: Improvementhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Improvement%22
on Jul 29, 2021https://github.com/getsentry/sentry-javascript/issues/3579#event-5083247017
AbhiPrasadhttps://github.com/AbhiPrasad
on Sep 10, 2021https://github.com/getsentry/sentry-javascript/issues/3579#event-5285199147
https://github.com/EmilioAiolfi
EmilioAiolfihttps://github.com/EmilioAiolfi
on Mar 31, 2022https://github.com/getsentry/sentry-javascript/issues/3579#issuecomment-1084778223
@lobsterkatiehttps://github.com/lobsterkatie
https://github.com/lobsterkatie
lobsterkatiehttps://github.com/lobsterkatie
on Apr 4, 2022https://github.com/getsentry/sentry-javascript/issues/3579#issuecomment-1087972117
lobsterkatiehttps://github.com/lobsterkatie
Type: Bughttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Bug%22
Type: Improvementhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Improvement%22
on Apr 4, 2022https://github.com/getsentry/sentry-javascript/issues/3579#event-6365959977
powerfulyanghttps://github.com/powerfulyang
on Apr 16, 2022https://github.com/getsentry/sentry-javascript/issues/3579#event-6443444775
紧跟版本的痛啊;https://github.com/powerfulyang/Archive-powerfulyang.com/commit/d7469b721a0fec90db1d73f5e915a5fbe24355f4
d7469b7https://github.com/powerfulyang/Archive-powerfulyang.com/commit/d7469b721a0fec90db1d73f5e915a5fbe24355f4
紧跟版本的痛啊;https://github.com/powerfulyang/Archive-powerfulyang.com/commit/984eeed68bab4bde53e092c87e30a3a7bc70012f
984eeedhttps://github.com/powerfulyang/Archive-powerfulyang.com/commit/984eeed68bab4bde53e092c87e30a3a7bc70012f
smeubankhttps://github.com/smeubank
timfishhttps://github.com/timfish
onurtemizkanhttps://github.com/onurtemizkan
on Nov 23, 2022https://github.com/getsentry/sentry-javascript/issues/3579#event-7875991444
smeubankhttps://github.com/smeubank
timfishhttps://github.com/timfish
onurtemizkanhttps://github.com/onurtemizkan
on Dec 5, 2022https://github.com/getsentry/sentry-javascript/issues/3579#event-7956638463
https://github.com/HazAT
HazAThttps://github.com/HazAT
on Feb 16, 2023https://github.com/getsentry/sentry-javascript/issues/3579#issuecomment-1432713686
HazAThttps://github.com/HazAT
completedhttps://github.com/getsentry/sentry-javascript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Feb 16, 2023https://github.com/getsentry/sentry-javascript/issues/3579#event-8534372072
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-javascript/issues/3579
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/3579
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.