maddy
maddy2y ago

Prod deployment settings page never loads

I am creating a NextJS app and the dev environment works fine. But when I am trying to get Prod deployment key, the Prod settings page basically never finishes loading. Not recommended but I also tried deploying based on dev deployment key and ran into error on Vercel. (1) Do you also need to provide NEXT_PUBLIC_CONVEX_URL env variable in Vercel besides CONVEX_DEPLOY_KEY? (2) Is there a local emulator (similar to Firebase emulator) for local development with Convex without internet connection? Thanks!
No description
No description
3 Replies
Michal Srb
Michal Srb2y ago
Hey maddy! We’ll have a look at the dashboard issue. To answer your questions: 1) NEXT_PUBLIC_CONVEX_URL must be available (assuming you’re using it in your client code as an argument to ConvexReactClient). You can either set it in a checked-in .env file or set it in the Vercel settings page. 2) There isn’t a local emulator for the backend at the moment, but it’s something we’ve been thinking about building.
ballingt
ballingt2y ago
@maddy this dashboard issue should be resolved, let us know if you have any further issues
maddy
maddyOP2y ago
Yes I just verified that it works now. Thanks 🙏 for such a quick turnaround!

Did you find this page helpful?