-
Environment Variables:
There's a known issue with environment variables not loading properly when the nodejs_compat flag is set on Cloudflare Pages, as mentioned in this GitHub issue. Make sure your Cloudflare Pages project is not using this flag, or if it is, be aware that it might cause issues with environment variable loading.
-
Cloudflare Pages Settings:
Double-check your Cloudflare Pages project settings to ensure all necessary configurations are in place, including the D1 database binding.
-
Compatibility Date:
If you're using the nodejs_compat flag, make sure the compatibility date is set correctly in your wrangler.toml file or Cloudflare Pages settings.
If you've verified all these points and are still encountering issues, it might be helpful to share more details about your Cloudflare Pages configuration (as you mentioned, pictures on request) for further troubleshooting.
Remember that Nuxt Content with Cloudflare Pages is designed to work out of the box, but sometimes additional configuration might be necessary depending on your specific setup and requirements.
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: