You don't *have* to switch over if you don't want to, I'm just curious if this would solve the issue
You don't have to switch over if you don't want to, I'm just curious if this would solve the issue
"No such module \'pages/api/utils/buffer'" when I try to use a .arrayBuffer() from an image fetch request.arrayBuffer() shouldn't require nodejs_compat...node:crypto module
main partworkers_dev and don't add any routes, then the Worker should not be accessible via anything but service bindingswrangler.json doesn't have a Route/workers_dev, it won't have a URL, even if you are using Hono"18:50:33 [ERROR] Error: Disallowed operation called within global scope. Asynchronous I/O (ex: fetch() or connect()), setting a timeout, and generating random values are not allowed within global scope. To fix this error, perform this operation within a handler. https://developers.cloudflare.com/workers/runtime-apis/handlers/\n at $store.off (chunks/Button_DdLih6DG.mjs:3475:7)\n at chunks/Button_DdLih6DG.mjs:3388:34\n at Object.get (chunks/Button_DdLih6DG.mjs:3370:11)\n at chunks/useAuth_DoHMfpz7.mjs:191:13"
cf-connecting-ip for duplicate-connection detection is getting into dangerous territory because of NAT and CGNAT, you might end up blocking 30 users because the CG-NAT'd IP is already connected from 1 user."No such module \'pages/api/utils/buffer'".arrayBuffer().arrayBuffer()node:cryptoworkers_devworkers_devrouteswrangler.json"18:50:33 [ERROR] Error: Disallowed operation called within global scope. Asynchronous I/O (ex: fetch() or connect()), setting a timeout, and generating random values are not allowed within global scope. To fix this error, perform this operation within a handler. https://developers.cloudflare.com/workers/runtime-apis/handlers/\n at $store.off (chunks/Button_DdLih6DG.mjs:3475:7)\n at chunks/Button_DdLih6DG.mjs:3388:34\n at Object.get (chunks/Button_DdLih6DG.mjs:3370:11)\n at chunks/useAuth_DoHMfpz7.mjs:191:13"cf-connecting-ip{
"source": {
"level": "error",
"message": "\u001b[2m2025-05-17T23:45:23.338Z\u001b[0m \u001b[31mERROR\u001b[0m \u001b[1m[Better Auth]:\u001b[0m Client Id and Client Secret is required for Google. Make sure to provide them in the options.",
"$cloudflare": {
"$metadata": {
"id": "01JVGA6NWAQ61VK3VN4Y5QBXQE",
"type": "cf-worker",
"error": "\u001b[2m2025-05-17T23:45:23.338Z\u001b[0m \u001b[31mERROR\u001b[0m \u001b[1m[Better Auth]:\u001b[0m Client Id and Client Secret is required for Google. Make sure to provide them in the options.",
"errorPattern": "\u001b[2m<UTC>\u001b[0m \u001b[31mERROR\u001b[0m \u001b[1m[Better Auth]:\u001b[0m Client Id and Client Secret is required for Google. Make sure to provide them in the options.",
"messagePattern": "\u001b[2m<UTC>\u001b[0m \u001b[31mERROR\u001b[0m \u001b[1m[Better Auth]:\u001b[0m Client Id and Client Secret is required for Google. Make sure to provide them in the options."
}
}
},
"dataset": "cloudflare-workers",
"timestamp": "2025-05-17T23:45:23.338Z",
"$workers": {
"truncated": false,
"event": {
"request": {
"url": "https://app.safecircle.tech/api/auth/sign-in/social",
"method": "POST",
"path": "/api/auth/sign-in/social"
}
},
"outcome": "ok",
"scriptName": "safecircle-waitlist",
"eventType": "fetch",
"executionModel": "stateless",
"scriptVersion": {
"id": "6caedba6-53c0-4eda-bff8-3e1d569e2f8f"
},
"requestId": "9416fcf7bf58cfc7"
},
"$metadata": {
"id": "01JVGA6NWAQ61VK3VN4Y5QBXQE",
"requestId": "9416fcf7bf58cfc7",
"trigger": "POST /api/auth/sign-in/social",
"service": "safecircle-waitlist",
"level": "error",
"error": "\u001b[2m2025-05-17T23:45:23.338Z\u001b[0m \u001b[31mERROR\u001b[0m \u001b[1m[Better Auth]:\u001b[0m Client Id and Client Secret is required for Google. Make sure to provide them in the options.",
"message": "\u001b[2m2025-05-17T23:45:23.338Z\u001b[0m \u001b[31mERROR\u001b[0m \u001b[1m[Better Auth]:\u001b[0m Client Id and Client Secret is required for Google. Make sure to provide them in the options.",
"account": "537639845b3a2365ae57881fbcbd6eee",
"type": "cf-worker",
"fingerprint": "e36b09522b8d83150f98181b2afd807d",
"origin": "fetch",
"messageTemplate": "\u001b[2m<UTC>\u001b[0m \u001b[31mERROR\u001b[0m \u001b[1m[Better Auth]:\u001b[0m Client Id and Client Secret is required for Google. Make sure to provide them in the options.",
"errorTemplate": "\u001b[2m<UTC>\u001b[0m \u001b[31mERROR\u001b[0m \u001b[1m[Better Auth]:\u001b[0m Client Id and Client Secret is required for Google. Make sure to provide them in the options."
},
"links": []
}