Broken pages deployments using remix

Hi, we’re suddenly experiencing broken Pages deployments with our Remix app. The same commit that deployed successfully yesterday is failing today. Anyone else experiencing this?

  • Code builds and runs fine using wrangler dev
  • Code uploads fine using wrangler pages deploy public
  • Website URL is generated, but contains the “nothing here” fallback page (If the project exists, it may not be ready yet. Please check back later)
  • Deployment appears in a “failed” state on Pages deployment dashboard

Hey,

What do you mean by “broken”? What are you seeing? Have you tried tailing and seeing if there’s an error in the code?

Hi Walshy, just updated the OP with more details. Will try tailing, although there doesn’t seem to be anything to tail.

Can you share a deployment ID or the pages.dev so I can check it?

Yes, thank you.

e1a7cd3b-df21-4cc7-bfd4-0e006a190d3e

Here’s another pair that should work, as it works in wrangler dev and is the same code (same github commit) that successfully deployed yesterday

6660c02d-7528-4c28-8b7e-6c5ebab46298
https://6660c02d.dapp-vaultus-finance.pages.dev/

It looks like you deleted the D1 DB linked to this project. You will need to remove it from the Functions tab as well: https://dash.cloudflare.com/?to=/:account/pages/view/:pages-project/settings/functions

Currently it’s trying to deploy with the D1 DB but it doesn’t exist so it’s failing

Thank you for looking into this Walshy. It looks like you’re correct. We updated our wrangler.toml to reflect the new D1 db but did not update on the Functions tab. Cheers to you my friend.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.