-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[Cloudflare] Error: The 'referrerPolicy' field on 'RequestInitializerDict' is not implemented. #9194
Comments
Hey @mmiszy. Currently the Next.js SDK only supports Node.js and Vercel Edge runtimes. I would recommend you check out https://github.com/robertcepa/toucan-js for Cloudflare workers runtime support. |
Hello @AbhiPrasad, couldn't you just use your I would also note that last month you guys made a change to one of your packages just to improve support for deploying to Cloudflare and using This doesn't seem like something that is much of a problem to add a check for. |
@james-elicx Cloudflare + Next.js is currently something we do not officially support. We try to make things work in general but not specific to CFPs. We do not check for compatibility and also don't have tests for CFP.
PRs are always welcome! |
I am starting to wonder if we even need the referrerPolicy field here. I'll try and figure out why it was added 🤔 |
This change was released with https://github.com/getsentry/sentry-javascript/releases/tag/7.74.0! |
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.69.0
Framework Version
13.5.4
Link to Sentry event
No response
SDK Setup
No response
Description
When Sentry is used in Next.js on Cloudflare via
next-on-pages
, an error is thrown:This is due to this line of code:
sentry-javascript/packages/vercel-edge/src/transports/index.ts
Line 86 in 945d873
The text was updated successfully, but these errors were encountered: