-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Package: nextjsIssues related to the Sentry Nextjs SDKIssues related to the Sentry Nextjs SDK
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/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which package are you using?
@sentry/angular
SDK Version
7.31.1
Framework Version
@sentry/nextjs 7.31.1
Link to Sentry event
https://sentry.io/organizations/triton-digital-canada-inc/issues/3883394829/
SDK Setup
The sample repro repository uses the following values, where the error still occurs.
sentry.client.config.js
:
Sentry.init({
dsn: null,
// Adjust this value in production, or use tracesSampler for greater control
tracesSampleRate: 1.0,
// ...
// Note: if you want to override the automatic release value, do not set a
// `release` value here - use the environment variable `SENTRY_RELEASE`, so
// that it will also get attached to your source maps
});
sentry.client.edge.js
:
Sentry.init({
dsn: null,
// Adjust this value in production, or use tracesSampler for greater control
tracesSampleRate: 1.0,
// ...
// Note: if you want to override the automatic release value, do not set a
// `release` value here - use the environment variable `SENTRY_RELEASE`, so
// that it will also get attached to your source maps
});
sentry.client.server.js
:
Sentry.init({
dsn: null,
// Adjust this value in production, or use tracesSampler for greater control
tracesSampleRate: 1.0,
// ...
// Note: if you want to override the automatic release value, do not set a
// `release` value here - use the environment variable `SENTRY_RELEASE`, so
// that it will also get attached to your source maps
});
Steps to Reproduce
- Running on Windows, clone this repository which is a reproduction of the issue
- Run
yarn install
- Run
yarn dev
- Browse to http://localhost:3000
- Observe an error on-screen and in your terminal
Expected Result
Page is rendered successfully.
Actual Result
This could be related to #6771? (cc @lforst)
Confirmed that it works as expected with v7.29.0
Metadata
Metadata
Assignees
Labels
Package: nextjsIssues related to the Sentry Nextjs SDKIssues related to the Sentry Nextjs SDK