You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit: I also tried https://pkg.pr.new/@opennextjs/cloudflare@main, but the issue persists. It seems that either node:module needs to be polyfilled, or the edge version of Sentry should be used.
Describe the bug
After integrating Sentry, we observed that wrangler fails to run the app in preview mode, resulting in a crash.
Steps to reproduce
Link to minimum reproduction.
Expected behavior
The app should run without crashing.
@opennextjs/cloudflare version
@opennextjs/cloudflare@1.0.0-beta.2
Wrangler version
4.10.0
next info output
Additional context
I also tested with @opennextjs/cloudflare@0.6.6 — the result was the same.
For Sentry, I tried both the manual setup from Sentry’s documentation and the server-side configuration mentioned in your OpenNext AWS docs. In both cases, the app still crashes when using preview mode with Wrangler.
The text was updated successfully, but these errors were encountered: