Which section?
Server-Side Rendering with Trace Injection
Page URL
https://docs.sentry.io/platforms/javascript/guides/cloudflare/frameworks/hydrogen-react-router/#server-side-rendering-with-trace-injection
Description
import "./instrument.server"; or everything from import * as Sentry from "@sentry/react-router/cloudflare"; for entry.server.tsx file causes the error ReferenceError: require is not defined
Are you sure this is the working instruction for “@shopify/hydrogen”: “2025.7.0”?
https://docs.sentry.io/platforms/javascript/guides/cloudflare/frameworks/hydrogen-react-router/#server-side-rendering-with-trace-injection
Suggested Solution
No response