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
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.
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?
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.
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)Sure thing, Lee. When I run that..I run into problems. Let me try that one more time..
cool thanks. We can also look into potentially creating dev deployments in the dashboard instead of disabling the button
✖ 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.Interesting. What if you run
npx convex dev --configure
? That should take you through the menu to connect to an existing project correctlyre-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
Nice! Happy weekend 😊