Štosdenfer
Štosdenfer3mo ago

Can't get local development to work

Hi guys! I can't seem to get the local development to work and I'm not getting any errors that would point me somewhere so I'm writing here. I tried running npx convex dev --local --once multiple times, but each time I get the cloud deployment. It also states this in the docs:
You'll also always be given the option for a local deployment if you run npx convex dev --configure. Other flows may assume you want a cloud deployment in some situations, for example when connecting to a project for which you already have a cloud development deployment.
Since I am trying this with an existing cloud development deployment, I tried runnig npx convex dev --configure, but it didn't offer anything related to local development. What do I do?
5 Replies
Convex Bot
Convex Bot3mo ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
erquhart
erquhart3mo ago
What version of convex are you running in that project
Clever Tagline
Clever Tagline3mo ago
There's an active discussion happening with some others who are experiencing issues with local deployment. Might be worth checking out: https://discord.com/channels/1019350475847499849/1413642521938231368
Štosdenfer
ŠtosdenferOP3mo ago
"convex": "^1.26.0"
"convex": "^1.26.0"
I'll check it ou Doesn't really seem helpful because it seems they managed to get somehwere with the local development and than ran into issues - I can't even get it to offer me local development (when running with --config)
Clever Tagline
Clever Tagline3mo ago
I haven't tried to deploy locally, so unfortunately I won't be of much help. Sorry.

Did you find this page helpful?