when I run `wrangler pages dev --persist --r2=PIC -- npm run dev` to test locally the app is availab

when I run wrangler pages dev --persist --r2=PIC -- npm run dev to test locally the app is available on both port 5173(default for vite) and port8788(default for wrangler/workerd?). The one that is available on port 8788 works well while the one available on port 5173 results in same type of errors as the one on the prod (ie [project-name].pages.dev)
Was this page helpful?