[SvelteKit & Workers] Building from repo breaks webapp

Initially, I simply build the SvelteKit webapp locally using the cloudflare adapter and used 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 🫡
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?