Can't access Pages through wrangler dev

Previously I've only deployed my pages app to production but I'm messing around with a function and wanted to test it locally with more debugging tools. I ran 'wrangler pages dev' to try to spin it up yet when I navigate to https://localhost:8788/ in a browser I get a generic "This localhost page can’t be found" error any ideas?
3 Replies
MassiveR3T4RD
MassiveR3T4RD6mo ago
please ensure you are in the correct directory and try npx wrangler pages dev
poop00peepee123
poop00peepee123OP6mo ago
what would be the "correct directory" in this case? the base project directory?
MassiveR3T4RD
MassiveR3T4RD6mo ago
yes or try to give it a directory by using . or / after dev in the command
Want results from more Discord servers?
Add your server