try to use cache:no-store instead.
try to use cache:no-store instead.

Error: The 'credentials' field on 'RequestInitializerDict' is not implemented.wrangler dev ./thedo.ts i can hit the DO directly in the browser without any issues
cache: 'no-cache' part)@cloudflare/pages-plugin-vercel-og/api and im getting a load of errors like so. Failed to set fetch cache https://foobar.com/data Error: fetch for over 2MB of data can not be cached
▲ Error: Importing "@vercel/next": require() of ES Module /home/runner/work/repo/repo/node_modules/string-width/index.js from /home/runner/work/repo/repo/node_modules/wide-align/align.js not supported.CF_PAGES_URL is available in dev? If yes then any idea on how can I access it?CF_PAGES_URL var is the default .pages.dev one, if you plan on using a custom domain it's better to define your one env to specify it.dev.vars file: next dev?wrangler.toml?env, do you see anything, or is it undefined?wrangler dev session for class "Lock" to proxy toname = "sellhub-checkout"
compatibility_date = "2024-04-05"
compatibility_flags = ["nodejs_compat"]
[[services]]
binding = "WORKER"
service = "sellhub-checkout-cron"
# Bind a Durable Object. Durable objects are a scale-to-zero compute primitive based on the actor model.
# Durable Objects can live for as long as needed. Use these when you need a long-running "server", such as in realtime apps.
# Docs: https://developers.cloudflare.com/workers/runtime-apis/durable-objects
[[durable_objects.bindings]]
name = "LOCK"
class_name = "Lock"
script_name = 'sellhub-checkout-cron'Error: The 'credentials' field on 'RequestInitializerDict' is not implemented.export async function GET(request: NextRequest) {
const context = getRequestContext();
let id = context.env.RATE_LIMITER.idFromName(new URL(request.url).pathname);
const stub = context.env.RATE_LIMITER.get(id);
console.log({ id, stub });
return stub.fetch(request);
}{
id: constructor { name: undefined },
stub: constructor { name: undefined, id: undefined }
}
⨯ Error [TypeError]: Failed to parse URL from [object Request]wrangler dev ./thedo.tscache: 'no-cache'@cloudflare/pages-plugin-vercel-og/api ⨯ ./node_modules/@cloudflare/pages-plugin-vercel-og/dist/src/api/noto-sans-v27-latin-regular.ttf.bin
Module parse failed: Unexpected character '' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
(Source code omitted for this binary file)▲ Error: Importing "@vercel/next": require() of ES Module /home/runner/work/repo/repo/node_modules/string-width/index.js from /home/runner/work/repo/repo/node_modules/wide-align/align.js not supported.