-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
@sentry/nextjs
+ runtime = "edge"
causes .next/app-build-manifest.json
not to be populated and builds to break
#8062
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for reporting this. I can reproduce. We will look at this with urgency. |
Just to give a very small update here. We're currently talking to Vercel to maybe find a better solution to doing auto wrapping of server components. Currently it is very deeply nested in the SDK so we don't have a quick fix. I do have a workaround for you however: You should be able to use the |
ok cool, thanks for the update @lforst 🙂 |
I'm struggling to get that workaround to work: the docs on E.g. if my server component is at |
@isaacseymour I think that should work. One question: Are you on windows? |
Nope! macOS I've got this working by setting the |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nextjs
SDK Version
7.51.0
Framework Version
13.4.1
Link to Sentry event
No response
SDK Setup
Steps to Reproduce
next.config
,client.config
,edge.config
,server.config
everything looks good at this point,
next start
works etc...export const runtime = "edge";
to the root layoutnext start
breaks because.next/app-build-manifest.json
is now empty.Removing
withSentryConfig
and returning the next config to the original default config or removingexport const runtime = "edge";
gets the build working again and the manifest correctly populated.Expected Result
Nothing should change by adding
export const runtime = "edge";
Actual Result
The text was updated successfully, but these errors were encountered: