nuxt-hub / core

Build full-stack applications with Nuxt on CloudFlare, with zero configuration.
https://hub.nuxt.com
Apache License 2.0
939 stars 53 forks source link

Reaching Cloudflare D1 limits #129

Open Barbapapazes opened 4 months ago

Barbapapazes commented 4 months ago

Hello 👋,

It could be interesting to tell to users that a free plan cannot have more than D1 10 databases. I think it's an important limitation to keep in mind, especially because Hub create 2 databases per project and the Hub free plan will promote up to 20 projects.

In the meantime, but maybe Cloudflare does not return a meessage,I'm facing this issue in a preview env and the message I get is not very clear on why the deployment failed (after trying to manually create the preview on the Cloudflare dashboard, I had the error message about the d1 limits). The deployement failed because I hit Cloudflare limits.

[error] [nuxt:hub] Failed to create the Cloudflare resources. Please try again, if this error persists, contact us at hub@nuxt.com.
atinux commented 3 months ago

I think we can improve the error message coming back from NuxtHub back to the build indeed.