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
please ensure you are in the correct directory and try
npx wrangler pages dev
what would be the "correct directory" in this case? the base project directory?
yes or try to give it a directory by using
.
or /
after dev in the command