NextJS deployment fails after adding D1 binding

domain: next-on-cloudflare-boy.pages.dev
deploymentId: 6e079786-4d28-4262-83a0-e14280c26198
accountId: b26f727ceebb9fef992e39350f2828e6

I have barebones @cloudflare/next-on-pages setup (from npm create cloudflare@latest) and deployment was working fine until I added D1 binding.

Now it fails everytime I push new changes to repo. Interestingly, deployment using
wrangler pages deploy
works fine.

repository: https://github.com/Rei-x/next-on-cloudflare
GitHub
Contribute to Rei-x/next-on-cloudflare development by creating an account on GitHub.
Was this page helpful?