Closed parlay96 closed 2 days ago
Hi, the minimum supported Next.js version is 13.2.0
. instrumentation.ts
got added to Next.js in that version. Please take a look at our peer dependencies:
@lforst So my version is 12.xx, how should I use Sentry?, Or rather, I am a server-side rendering, and if I connect to Sentry
@parlay96 You need to upgrade your Next.js app to a supported version in order to use the latest version of @sentry/nextjs
.
@chargome That's not possible. Our project is very stable,Just connect to Sentry. We don't want to upgrade
@parlay96 Next.js v12 is still supported in our v7 SDK, but keep in mind that this version of the SDK will only continue to receive critical bugfixes until end of 2024.
@chargome ok,Thank you。
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
8.13.0
Framework Version
next v12.3.4
Link to Sentry event
No response
SDK Setup/Reproduction Example
No response
Steps to Reproduce
1: Firstly, the register method on the server was not executed at all,
2: The Sentry platform also did not collect any errors regarding the server side
3:Only client errors are effective for the client
![image](https://github.com/getsentry/sentry/assets/32978177/afb143bd-97f3-4c34-9cf3-91e2dfd117e9)
Expected Result
How to solve it?
Actual Result
1: Firstly, the register method on the server was not executed at all,
2: The Sentry platform also did not collect any errors regarding the server side
3:Only client errors are effective for the client
![image](https://github.com/getsentry/sentry/assets/32978177/afb143bd-97f3-4c34-9cf3-91e2dfd117e9)