Im also here with a broken next-on-pages + Drizzle D1 App. Are there any docs on setupDevPlatform? N
Im also here with a broken next-on-pages + Drizzle D1 App. Are there any docs on setupDevPlatform? Not sure how to upgrade my app
setupDevPlatform: https://github.com/cloudflare/next-on-pages/tree/main/internal-packages/next-dev#next-on-pages-next-devsetupDevBindings it is exactly the same besides the function's name and the fact that you define your bindings in a wrangler.toml instead of defining them in the function's call)setupDevPlatform documentation?getPlatformProxy (and we do defer to that page in our docs)

setupDevBindings to the new setupDevPlatform 





[[durable_objects.bindings]]
name = "MY_DO"
script_name = "do-worker"
class_name = "DurableObjectClass"[Error: ENOTDIR: not a directory, open '/Volumes/Primary/Code/cms/.next/server/edge-chunks/wasm_8b5add1f3c1bcd5e8c85235d4465ef1ec3674e24.wasm'] {
build: errno: -20,
build: code: 'ENOTDIR',
build: syscall: 'open',
build: path: '/Volumes/Primary/Code/cms/.next/server/edge-chunks/wasm_8b5add1f3c1bcd5e8c85235d4465ef1ec3674e24.wasm'
build: }setupDevBindings({
bindings: {
D1: {
type: "d1",
databaseName: "podcast-stats-prod",
id: "e2659b9a-928c-4218-beb5-518b87f59c4f",
},
},
});[[d1_databases]]
binding = "D1"
database_name = "podcast-stats-prod"
database_id = "e2659b9a-928c-4218-beb5-518b87f59c4f"