2 Replies
The error is coming from your
convex/env.ts
file, you'll want to check thereIt looks like you're calling createEnv at import time. You could try:
1. Move createEnv into a convex function, and call it. This will let you push functions and you should get better logs about which environment variables are missing.
2. Make sure you're setting environment variables in the convex dashboard for the correct deployment (not in .env or .env.local)