`wrangler pages dev`, error in _worker.js can't find D1 table

I've been trying to run locally a Pages project but i keep getting an error in my _worker.js. The D1 table i'm trying to work on cannot be found. The issue doesn't happen in prod. my wrangler.toml was generated with wrangler pages download config so it should be fine. i noticed there is no --remote option (as when working with workers)
2 Replies
Hello, I’m Allie!
pages dev can only connect to local D1 instances. You would need to rebuild the DB locally
poro
poroOP8mo ago
damn, thanks for the explaination
Want results from more Discord servers?
Add your server