mort
mort
CDCloudflare Developers
Created by mort on 11/15/2023 in #pages-help
Error deploying pages project to preview environment
Apparently I had somehow established a D1 binding in the preview settings to a D1 database I was experimenting with in another workers project. Deleting the D1 database without first removing the binding created the issue. The binding was hidden on the dashboard because there was not a D1 database which made it difficult to diagnose. Creating a temporary D1 database and going back to the project settings revealed the binding and allowed me to delete it, and then the D1 database.
4 replies
CDCloudflare Developers
Created by mort on 11/15/2023 in #pages-help
Error deploying pages project to preview environment
I duplicated the repo and started a new Cloudflare Pages project using the new repo. The preview branch deploys flawlessly. I'm really confused as to what could be causing the issue. I went through all of the settings and they match between projects (aside from the workers compatibility date set to today on the new project).
At least now I know I should be able to delete the project that's failing to deploy previews and re-create it, but I'd rather not have to lose all of the historical data associated with that project.
4 replies
CDCloudflare Developers
Created by mort on 11/15/2023 in #pages-help
Error deploying pages project to preview environment
I tried re-deploying deployment aa5a2e15-4bc1-4f40-a685-fd5297f5fa25 that had successfully deployed as preview, and it failed with the same error as well. Is there a way to see what the project settings were previously set to?
4 replies