The deployment failed due to an internal error. Retry deployment to restart the build process.

Deploying a Sveltekit project from Github & all went well until the end where it threw this error at me... which I don't even have a routes.json file within my project so no idea how to sort it out. Added the logs to show it all went well until the end. I've cleared cache, triple checked the build and preview and nothing is working. Anyone know what I should do next? Error: Failed to publish your Function. Got error: Error 8000057: Rule (%s) in routes.json is over the 100 character limit. Refer to https://cfl.re/3FsE4aF.
Cloudflare Docs
Routing · Cloudflare Pages docs
Functions utilize file-based routing. Your /functions directory structure determines the designated routes that your Functions will run on. You can …
1 Reply
Chaika
Chaika9mo ago
You have a rule (ex, a path) with over 100 characters. I would try the build locally with the cf adapter and see if it can't dump the routes.json locally/make sure you don't have any super long paths
Want results from more Discord servers?
Add your server