Trying to deploy my site on pages and I'm running into issues when deploying a function: ``` 01:51:
Trying to deploy my site on pages and I'm running into issues when deploying a function:
01:51:31.039 Cloning repository...
01:51:31.945 From https://github.com/chrismuntean/Event-Photography
01:51:31.945 * branch 471052acb01bd770cf02209e0756104342d22953 -> FETCH_HEAD
01:51:31.945
01:51:31.979 HEAD is now at 471052a Created backup file of original development worker
01:51:31.980
01:51:32.053
01:51:32.053 Using v2 root directory strategy
01:51:32.073 Success: Finished cloning repository files
01:51:33.605 Checking for configuration in a Wrangler configuration file (BETA)
01:51:33.606
01:51:34.708 No wrangler.toml file found. Continuing.
01:51:34.708 No build command specified. Skipping build step.
01:51:34.708 Found Functions directory at /functions. Uploading.
01:51:34.714 β
οΈ wrangler 3.101.0
01:51:34.714 -------------------
01:51:35.547
01:51:35.639 β [ERROR] No routes found when building Functions directory: /opt/buildhome/repo/functions
01:51:35.640
01:51:35.640
01:51:35.733 πͺ΅ Logs were written to "/root/.config/.wrangler/logs/wrangler-2025-02-25_08-51-35_301.log"
01:51:35.743 Warning: Wrangler did not find routes when building functions. Skipping.
01:51:35.744 Validating asset output directory
01:51:38.199 Deploying your site to Cloudflare's global network...
01:51:41.797 Uploading... (29/29)
01:51:41.798 β¨ Success! Uploaded 0 files (29 already uploaded) (0.28 sec)
01:51:41.798
01:51:42.005 β¨ Upload complete!
01:51:44.613 Success: Assets published!
01:51:46.372 Success: Your site was deployed!01:51:31.039 Cloning repository...
01:51:31.945 From https://github.com/chrismuntean/Event-Photography
01:51:31.945 * branch 471052acb01bd770cf02209e0756104342d22953 -> FETCH_HEAD
01:51:31.945
01:51:31.979 HEAD is now at 471052a Created backup file of original development worker
01:51:31.980
01:51:32.053
01:51:32.053 Using v2 root directory strategy
01:51:32.073 Success: Finished cloning repository files
01:51:33.605 Checking for configuration in a Wrangler configuration file (BETA)
01:51:33.606
01:51:34.708 No wrangler.toml file found. Continuing.
01:51:34.708 No build command specified. Skipping build step.
01:51:34.708 Found Functions directory at /functions. Uploading.
01:51:34.714 β
οΈ wrangler 3.101.0
01:51:34.714 -------------------
01:51:35.547
01:51:35.639 β [ERROR] No routes found when building Functions directory: /opt/buildhome/repo/functions
01:51:35.640
01:51:35.640
01:51:35.733 πͺ΅ Logs were written to "/root/.config/.wrangler/logs/wrangler-2025-02-25_08-51-35_301.log"
01:51:35.743 Warning: Wrangler did not find routes when building functions. Skipping.
01:51:35.744 Validating asset output directory
01:51:38.199 Deploying your site to Cloudflare's global network...
01:51:41.797 Uploading... (29/29)
01:51:41.798 β¨ Success! Uploaded 0 files (29 already uploaded) (0.28 sec)
01:51:41.798
01:51:42.005 β¨ Upload complete!
01:51:44.613 Success: Assets published!
01:51:46.372 Success: Your site was deployed!







