#cloudflare local runtime problems
4 messages · Page 1 of 1 (latest)
You need to add preview_database_id = DB to your wrangler.toml, otherwise the wrangler cli does not use the correct state file. This is also documented in Cloudflare's docs: https://developers.cloudflare.com/d1/learning/local-development/#develop-locally-with-pages
You might need to re-run all the commands, after you updated your wrangler.toml
No problem, we might be able to improve our doc's section here. I'll pass that do the team!