Makisuo
Makisuo
Explore posts from servers
CDCloudflare Developers
Created by Makisuo on 4/11/2024 in #pages-help
NextJS Dev Server keeps on crashing with D1
Randomly crashing when hot reloading, if there is a any syntax error while hot relaoding it's guranteed to crash with this error, if not it seems to be a 50/50. Anyone experience this?
tRPC failed on <no-path>: Invalid state: Controller is already closed
/node_modules/.pnpm/wrangler@3.48.0/node_modules/wrangler/wrangler-dist/cli.js:29573
throw a;
tRPC failed on <no-path>: Invalid state: Controller is already closed
/node_modules/.pnpm/wrangler@3.48.0/node_modules/wrangler/wrangler-dist/cli.js:29573
throw a;
1 replies
CDCloudflare Developers
Created by Makisuo on 8/17/2023 in #pages-help
TCP connection possible in NextJS?
Since cloudflare supports tcp connections on workers is it somehow possible to use tcp connections in NextJS
1 replies
CDCloudflare Developers
Created by Makisuo on 6/13/2023 in #pages-help
NextJS Monorepo Setup
Is it possible to deploy a NextJS app from a turbo monorepo
3 replies
CDCloudflare Developers
Created by Makisuo on 6/11/2023 in #workers-help
Cloudflare Worker Rust Tail Worker
Is it possible to set a rust worker as a tail worker?
3 replies
CDCloudflare Developers
Created by Makisuo on 6/10/2023 in #workers-help
Worker always returns 200 with Hono
Not sure if this is the right place for this but, No matter what status I return it doesnt it seem to default to 200. when using new Response() it works without any issues. What am I doing wrong?

return c.json({
body: {
status: "404",
message: "No source found with that id",
},
status: 404,
})

return c.json({
body: {
status: "404",
message: "No source found with that id",
},
status: 404,
})
3 replies
CDCloudflare Developers
Created by Makisuo on 6/7/2023 in #workers-help
Best Approach for partial retrying
Was wondering what the best approach for my retry problem would be in cloudflare workers since haven't been using them for too long. I have a worker that does some things like creating a unique event id etc fetches the right project requested etc, then I send all that data via a fetch request, now I would like if that fetch request fails. To just retry the fetch on a delay. What would be the best implementation for this? Having a Service Worker that just does the fetch request with and DO Alarm? Or is there a better way?
1 replies
CDCloudflare Developers
Created by Makisuo on 5/29/2023 in #pages-help
Error On Build: Failed to publish your Function. Got error: multipart: message too large
16 replies
CDCloudflare Developers
Created by Makisuo on 5/18/2023 in #pages-help
Weird Pages NextJS build error
Cant really make it what is wrong with it, its quite a simple app, with nothing fancy going on aswell. Error logs are attached
37 replies