uma
uma7mo ago

Dev environment

Hello! We have signed up for Convex Professional but only 1 of us has a dev environment. We see that on 7/22 $75 will be charged so that all the members (3) can get a Dev environment each for themselves. Is there a way to enable that today and charge us sooner?
10 Replies
erquhart
erquhart7mo ago
Hey there! Are you other members able to log in and view your projects and dashboards? If this is indeed a billing problem, a Convex team member will have to help you. In the meantime, I can help you make sure it's not something else.
lee
lee7mo ago
You should be able to create a dev environment for each teammate as soon as you sign up for Pro and all teammates join the team. Is any step of that throwing an error?
uma
umaOP7mo ago
Thank you @erquhart , I will take it with Convex team member. It's disabled on our dashboard. We see that future billing is charging us for each member but not for 'this' cycle.
lee
lee7mo ago
What is disabled? You don't create dev deployments in the dashboard, you create them with npx convex dev in the cli (admittedly, we could make this more obvious)
uma
umaOP7mo ago
Sure thing, Lee. When I run that..I run into problems. Let me try that one more time..
lee
lee7mo ago
cool thanks. We can also look into potentially creating dev deployments in the dashboard instead of disabling the button
uma
umaOP7mo ago
✖ CONVEX_DEPLOYMENT is a production deployment, but --prod flag was not specified. Use npx convex dev --prod to develop against this production deployment. So, it must be that I've setup my .env incorrectly.
lee
lee7mo ago
Interesting. What if you run npx convex dev --configure? That should take you through the menu to connect to an existing project correctly
uma
umaOP7mo ago
re-running. I think I found something. would basically do what --configure would do me think. verifying, brb 1 min Woohoo!! So, what I had was: .env was populated because I pulled env variables from vercel. I had stored only prod, NEXT_PUBLIC_CONVEX_URL and that made npm convex dev give me the error message. I commented it out and running npm convex dev allowed me to reconfigure! I am in shape now! Thanks a bunch Lee especially at 9pm on a Friday
lee
lee7mo ago
Nice! Happy weekend 😊

Did you find this page helpful?