I have semi-successfully deployed my SvelteKit application to Cloudflare Pages (connected via GitHub repository).
It tells me in the logs that the build was successful, however when I go to the URL it tells me it's not working! D: (see attached)
Any ideas how I can go about debugging/fixing this?
Below is parts of the build log I thought could be relevant:
22:50:44.616 Successfully installed @sveltejs/adapter-cloudflare.22:50:44.616 22:50:44.616 If you plan on staying on this deployment platform, consider replacing @sveltejs/adapter-auto with @sveltejs/adapter-cloudflare. This will give you faster and more robust installs, and more control over deployment configuration.22:50:44.616 22:50:45.386 ✔ done22:50:45.482 Finished22:50:45.482 Found _worker.js in output directory. Uploading.22:50:46.703 ▲ [WARNING] 6 warning(s) when compiling Worker.22:50:46.704 22:50:46.704 22:50:46.750 Found _routes.json in output directory. Uploading.22:50:46.764 Validating asset output directory22:50:47.626 Deploying your site to Cloudflare's global network...22:50:50.157 Parsed 2 valid header rules.22:50:51.335 Uploading... (5/23)22:50:52.998 Uploading... (11/23)22:50:53.333 Uploading... (17/23)22:50:54.871 Uploading... (23/23)22:50:54.871 ✨ Success! Uploaded 18 files (5 already uploaded) (3.83 sec)22:50:54.871 22:50:55.130 ✨ Upload complete!22:50:57.726 Success: Assets published!22:51:02.705 Success: Your site was deployed!
22:50:44.616 Successfully installed @sveltejs/adapter-cloudflare.22:50:44.616 22:50:44.616 If you plan on staying on this deployment platform, consider replacing @sveltejs/adapter-auto with @sveltejs/adapter-cloudflare. This will give you faster and more robust installs, and more control over deployment configuration.22:50:44.616 22:50:45.386 ✔ done22:50:45.482 Finished22:50:45.482 Found _worker.js in output directory. Uploading.22:50:46.703 ▲ [WARNING] 6 warning(s) when compiling Worker.22:50:46.704 22:50:46.704 22:50:46.750 Found _routes.json in output directory. Uploading.22:50:46.764 Validating asset output directory22:50:47.626 Deploying your site to Cloudflare's global network...22:50:50.157 Parsed 2 valid header rules.22:50:51.335 Uploading... (5/23)22:50:52.998 Uploading... (11/23)22:50:53.333 Uploading... (17/23)22:50:54.871 Uploading... (23/23)22:50:54.871 ✨ Success! Uploaded 18 files (5 already uploaded) (3.83 sec)22:50:54.871 22:50:55.130 ✨ Upload complete!22:50:57.726 Success: Assets published!22:51:02.705 Success: Your site was deployed!
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
CD
Cloudflare Developers
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news