Deployment failed

I see that the deployment fails in my pages project, but there is no possibility to retrieve the deployment log. However I see in this documentation: https://developers.cloudflare.com/pages/configuration/debugging-pages/ that there is the possibility to see the log file for the deploy step. But there is nothing mentioned for direct upload. Is it possible to retrieve the log file using the API?
Cloudflare Docs
Debugging Pages · Cloudflare Pages docs
When setting up your Pages project, you may encounter various errors that prevent you from successfully deploying your site. This guide gives an …
4 Replies
Chaika
Chaika7mo ago
Is the deployment id you gave still right? I saw you edited it out of your message short story though is no way for you to see logs for function failures with direct uploads right now, only CF can grab them for you. Otherwise Pages ci/cd via Git integration will show them fine
Steven
StevenOP7mo ago
The is is still correct. We were able to fix the deployment issue in the mean time. I was just wondering whether we could retrieve it, since it seems to exist under the hood
Chaika
Chaika7mo ago
nothing you can do to get it other then moving away from direct upload and using Pages CI/CD which would spit it out properly. I've already asked an escalation engineer to grab the error for that deployment id, might still be helpful in some way anyway
Nolan
Nolan7mo ago
Hey Steven! We've got an edge_deployment_failed error with the following output.
deploy_worker_failed:Uncaught ReferenceError: process is not defined at functionsWorker-0.12860770304770353.js:86238:5 in ../build/server/index.js at functionsWorker-0.12860770304770353.js:8:59 in __init at functionsWorker-0.12860770304770353.js:87108:5 in [[path]].ts at functionsWorker-0.12860770304770353.js:8:59 in __init at functionsWorker-0.12860770304770353.js:87119:5 in ../.wrangler/tmp/pages-DGhjUH/functionsRoutes-0.3287541420756619.mjs at functionsWorker-0.12860770304770353.js:8:59 in __init at functionsWorker-0.12860770304770353.js:87133:1
deploy_worker_failed:Uncaught ReferenceError: process is not defined at functionsWorker-0.12860770304770353.js:86238:5 in ../build/server/index.js at functionsWorker-0.12860770304770353.js:8:59 in __init at functionsWorker-0.12860770304770353.js:87108:5 in [[path]].ts at functionsWorker-0.12860770304770353.js:8:59 in __init at functionsWorker-0.12860770304770353.js:87119:5 in ../.wrangler/tmp/pages-DGhjUH/functionsRoutes-0.3287541420756619.mjs at functionsWorker-0.12860770304770353.js:8:59 in __init at functionsWorker-0.12860770304770353.js:87133:1
Want results from more Discord servers?
Add your server