solbass
solbass
CDCloudflare Developers
Created by solbass on 9/26/2024 in #pages-help
UNEXPECTED END OF JSON
@Hard@Work | R2
14 replies
CDCloudflare Developers
Created by solbass on 9/26/2024 in #pages-help
UNEXPECTED END OF JSON
the request is being called in a 'use server' file btw
14 replies
CDCloudflare Developers
Created by solbass on 9/26/2024 in #pages-help
UNEXPECTED END OF JSON
i have cache: 'no-store' on all my requests
14 replies
CDCloudflare Developers
Created by solbass on 9/26/2024 in #pages-help
UNEXPECTED END OF JSON
do you know what could be triggering this issue?
{
"truncated": false,
"outcome": "ok",
"scriptVersion": {
"id": "0fe3f0fc-fa40-42c0-b926-9e4dc314cf99"
},
"scriptName": "pages-worker--2901262-production",
"diagnosticsChannelEvents": [],
"exceptions": [],
"logs": [
{
"message": [
"Error: The 'cache' field on 'RequestInitializerDict' is not implemented."
],
"level": "error",
"timestamp": 1727449423310
},
{
"message": [
"Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."
],
"level": "error",
"timestamp": 1727449423310
}
],
{
"truncated": false,
"outcome": "ok",
"scriptVersion": {
"id": "0fe3f0fc-fa40-42c0-b926-9e4dc314cf99"
},
"scriptName": "pages-worker--2901262-production",
"diagnosticsChannelEvents": [],
"exceptions": [],
"logs": [
{
"message": [
"Error: The 'cache' field on 'RequestInitializerDict' is not implemented."
],
"level": "error",
"timestamp": 1727449423310
},
{
"message": [
"Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error."
],
"level": "error",
"timestamp": 1727449423310
}
],
14 replies
CDCloudflare Developers
Created by solbass on 9/26/2024 in #pages-help
UNEXPECTED END OF JSON
one of my devs created a fetch wrapper so prob an issue lying in there
14 replies
CDCloudflare Developers
Created by solbass on 9/26/2024 in #pages-help
UNEXPECTED END OF JSON
thank you for help will keep you updated
14 replies
CDCloudflare Developers
Created by solbass on 9/26/2024 in #pages-help
UNEXPECTED END OF JSON
i'm going to try one more fix, and see how it goes for a day. just wanted to bring up this issue to see if this was a common theme amongst a lot of users
14 replies
CDCloudflare Developers
Created by solbass on 9/26/2024 in #pages-help
UNEXPECTED END OF JSON
"@cloudflare/next-on-pages": "^1.9.0",
"@cloudflare/workers-types": "^4.20240208.0",
"next": "14.1.3",
"next-auth": "^5.0.0-beta.13",
"next-themes": "^0.2.1",
"@cloudflare/next-on-pages": "^1.9.0",
"@cloudflare/workers-types": "^4.20240208.0",
"next": "14.1.3",
"next-auth": "^5.0.0-beta.13",
"next-themes": "^0.2.1",
14 replies
CDCloudflare Developers
Created by solbass on 9/26/2024 in #pages-help
UNEXPECTED END OF JSON
yeah
14 replies
CDCloudflare Developers
Created by solbass on 9/26/2024 in #pages-help
UNEXPECTED END OF JSON
it's empty, but it's wierd because when i spam the same request from postman it always works
14 replies
CDCloudflare Developers
Created by solbass on 2/26/2024 in #general-help
Git Integration Next JS Cloudflare pages
i needed to update next auth to v5
9 replies
CDCloudflare Developers
Created by solbass on 2/26/2024 in #general-help
Git Integration Next JS Cloudflare pages
thanks
9 replies
CDCloudflare Developers
Created by solbass on 2/26/2024 in #general-help
Git Integration Next JS Cloudflare pages
update, i tried to add to my root layout and then the api route file individually, receiving this error Module not found: Can't resolve 'crypto'
9 replies
CDCloudflare Developers
Created by solbass on 2/26/2024 in #general-help
Git Integration Next JS Cloudflare pages
@Chaika does this have to be set at the top of every api file?
9 replies
CDCloudflare Developers
Created by solbass on 2/26/2024 in #general-help
Git Integration Next JS Cloudflare pages
09:40:41.562 ⚡️ The following routes were not configured to run with the Edge Runtime:
09:40:41.562 ⚡️ - /api/auth/[...nextauth]
09:40:41.563 ⚡️ - /api/protected
09:40:41.563 ⚡️ - /index
09:40:41.563 ⚡️
09:40:41.563 ⚡️ Please make sure that all your non-static routes export the following edge runtime route segment config:
09:40:41.563 ⚡️ export const runtime = 'edge';
09:40:41.562 ⚡️ The following routes were not configured to run with the Edge Runtime:
09:40:41.562 ⚡️ - /api/auth/[...nextauth]
09:40:41.563 ⚡️ - /api/protected
09:40:41.563 ⚡️ - /index
09:40:41.563 ⚡️
09:40:41.563 ⚡️ Please make sure that all your non-static routes export the following edge runtime route segment config:
09:40:41.563 ⚡️ export const runtime = 'edge';
9 replies
CDCloudflare Developers
Created by solbass on 2/21/2024 in #general-help
┬ Waiting for DNS to propagate (19s) ...
@Chaika are you also a swift/ios developer? saw you have experience w/ C
8 replies
CDCloudflare Developers
Created by solbass on 2/21/2024 in #general-help
┬ Waiting for DNS to propagate (19s) ...
It never completed, but ill just kill it thanks
8 replies