Open Glowin opened 2 months ago
this happens because the astro/cloudflare
plugin has changed. can you try this:
adapter: cloudflare({
platformProxy: {
enabled: true,
},
}),
instead of the old adapter in astro.config.mjs
. if this works for you i will create a PR to fix this here
When I upgraded Astro from 4.4.12 to the latest 4.7.1 using
npx @astrojs/upgrade
, and rerannpm run dev
, I encountered an error with the following message:So I modified the erroneous code to
const db = drizzle(import.meta.env.DB);
, but then a new error appeared, which seems to be an issue with drizzle-orm‘s compatibility: