NextJS: Edge runtime imports index.client.js
in development
#8274
Labels
Package: nextjs
Issues related to the Sentry Nextjs SDK
Uh oh!
There was an error while loading. Please reload this page.
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
7.53.1
Framework Version
NextJS 13.4.3
Link to Sentry event
No response
SDK Setup
sentry.edge.config.js
:Steps to Reproduce
Create a NextJS app. In next.config.js, set
sentry.excludeServerRoutes
to/.*/
and manually wrap the server component (to work around #8062).Make a page that's rendered on the edge runtime, manually wrapped (also working around #8062!). E.g.:
Run
next dev
.Expected Result
Page should render "Hello!"
Actual Result
The text was updated successfully, but these errors were encountered: