How can I access my d1 database in next on pages edge LOCALLY?

I have it working fine during deployment and build, but I can't seem to access it locally and there are no docs on it.
7 Replies
switz
switzOP3mo ago
http://localhost:8788/ returns 404 on npx wrangler pages dev if I run next dev in another terminal it cant access the d1 database
switz
switzOP3mo ago
No description
switz
switzOP3mo ago
No description
yuripave
yuripave3mo ago
Cloudflare Docs
Get started | Cloudflare Pages docs
Deploy a full-stack Next.js app to Cloudflare Pages
switz
switzOP3mo ago
yes
Hello, I’m Allie!
Have you created the tables/seeded the local database?
yuripave
yuripave3mo ago
Guess easier you share your wrangler.toml on how you define your D1 binding NEXTRA
Want results from more Discord servers?
Add your server