© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•10mo ago
BoogeyMan

[SvelteKit & Workers] Building from repo breaks webapp

Initially, I simply build the SvelteKit webapp locally using the cloudflare adapter and used
pnpm wrangler deploy
pnpm wrangler deploy
to upload the files to be deployed. However, as the project scaled and I implemented proper git version management, I decided to utilize the building straight from the GitHub repo on commit. This comes in very handy when wanting to preview commits to the develop branch. However, whenever the project is build directly by Cloudflare Workers, the page just returns the 500 internal server error, no matter what I do. Considering that building locally and deploying works, what could be causing the Cloudflare build project to break?

Thx for any help 🙏
If you need any extra info, just ask I will provide it right away 🫡
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Argo Smart Routing Breaks Workers
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago
Workers dashboard create project from github repo, UI crash
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
8mo ago
Deploy Sveltekit on Workers with Bun
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
12mo ago
Workers sometimes crashes when building NextJS
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
6mo ago